File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
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 }}
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 }}
You can’t perform that action at this time.
0 commit comments