File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ jobs:
107
107
file : ./images/${{ matrix.id }}/Dockerfile
108
108
context : .
109
109
platforms : linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
110
- push : ${{ (github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == format('refs/heads/{0}', github.event.repository.default_branch) )) }}
110
+ # Push on tag, or master or latest branch push.
111
+ push : ${{ (github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/latest')) }}
111
112
tags : ${{ steps.tags.outputs.tags }}
112
113
113
114
# scorecard-test-kuttl image build job. Only pushes if a tag with prefix "scorecard-kuttl/v" is present.
@@ -153,5 +154,6 @@ jobs:
153
154
context : .
154
155
# s390x is not supported by the scorecard-test-kuttl base image.
155
156
platforms : linux/amd64,linux/arm64,linux/ppc64le
156
- push : ${{ (github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == format('refs/heads/{0}', github.event.repository.default_branch) )) }}
157
+ # Push on tag, or master branch push.
158
+ push : ${{ (github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')) }}
157
159
tags : ${{ steps.tags.outputs.tags }}
You can’t perform that action at this time.
0 commit comments