File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ jobs:
216
216
run : |
217
217
./hack/images "${{ needs.prepare.outputs.tag }}" "$IMAGE_NAME" "${{ needs.prepare.outputs.push }}"
218
218
env :
219
- RELEASE : ${{ startsWith(github.ref, 'refs/tags/v') }}
219
+ RELEASE : ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
220
220
TARGET : ${{ matrix.target-stage }}
221
221
CACHE_FROM : type=gha,scope=image${{ matrix.target-stage }}
222
222
CACHE_TO : type=gha,scope=image${{ matrix.target-stage }}
@@ -230,6 +230,12 @@ jobs:
230
230
security-events : write
231
231
needs :
232
232
- image
233
+ strategy :
234
+ fail-fast : false
235
+ matrix :
236
+ tag :
237
+ - master
238
+ - master-rootless
233
239
steps :
234
240
-
235
241
name : Checkout
@@ -247,7 +253,7 @@ jobs:
247
253
with :
248
254
version : ${{ env.SCOUT_VERSION }}
249
255
format : sarif
250
- image : registry://${{ env.IMAGE_NAME }}:master
256
+ image : registry://${{ env.IMAGE_NAME }}:${{ matrix.tag }}
251
257
-
252
258
name : Upload SARIF report
253
259
uses : github/codeql-action/upload-sarif@v3
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121
121
run : |
122
122
./frontend/dockerfile/cmd/dockerfile-frontend/hack/release "${{ needs.prepare.outputs.typ }}" "${{ matrix.tag }}" "$IMAGE_NAME" "${{ needs.prepare.outputs.push }}"
123
123
env :
124
- RELEASE : ${{ startsWith(github.ref, 'refs/tags/v') }}
124
+ RELEASE : ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
125
125
CACHE_FROM : type=gha,scope=${{ env.CACHE_SCOPE }}
126
126
CACHE_TO : type=gha,scope=${{ env.CACHE_SCOPE }}
127
127
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -134,6 +134,12 @@ jobs:
134
134
security-events : write
135
135
needs :
136
136
- image
137
+ strategy :
138
+ fail-fast : false
139
+ matrix :
140
+ tag :
141
+ - master
142
+ - master-labs
137
143
steps :
138
144
-
139
145
name : Checkout
@@ -151,7 +157,7 @@ jobs:
151
157
with :
152
158
version : ${{ env.SCOUT_VERSION }}
153
159
format : sarif
154
- image : registry://${{ env.IMAGE_NAME }}:master
160
+ image : registry://${{ env.IMAGE_NAME }}:${{ matrix.tag }}
155
161
-
156
162
name : Upload SARIF report
157
163
uses : github/codeql-action/upload-sarif@v3
You can’t perform that action at this time.
0 commit comments