File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ permissions:
14
14
contents : read
15
15
16
16
env :
17
- DRY_RUN : ${{ github.ref_name != github.event.repository.default_branch }}
17
+ DRY_RUN : ${{ github.ref_name != github.event.repository.default_branch && !startsWith(github.ref_name, 'maint/') }}
18
18
OWNER : ${{ github.repository_owner }}
19
19
FILE : base
20
20
BUILDKIT_PROGRESS : plain
65
65
uses : ./.github/actions/setup-node
66
66
67
67
- name : Docker registry login
68
- if : github.ref_name == github.event.repository.default_branch
68
+ if : github.ref_name == github.event.repository.default_branch || startsWith(github.ref_name, 'maint/')
69
69
run : |
70
70
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
71
71
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
Original file line number Diff line number Diff line change 106
106
]
107
107
},
108
108
"tagFormat" : " ${version}" ,
109
- "branches" : [" main" ]
109
+ "branches" : [
110
+ {
111
+ "name" : " maint/+([0-9])?(.{+([0-9]),x}).x" ,
112
+ "range" : " ${name.replace(/^maint\\ //g, '')}"
113
+ },
114
+ " main"
115
+ ]
110
116
}
You can’t perform that action at this time.
0 commit comments