File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919 new_release_minor_version : ${{ steps.semantic.outputs.new_release_minor_version }}
2020 new_release_patch_version : ${{ steps.semantic.outputs.new_release_patch_version }}
2121 new_release_version : ${{ steps.semantic.outputs.new_release_version }}
22+ new_release_published : ${{ steps.semantic.outputs.new_release_published }}
2223
2324 steps :
2425 - uses : actions/checkout@v2
4041 docker_release :
4142 runs-on : ubuntu-latest
4243
43- if : ${{ github.ref == 'refs/heads/master' }}
44+ if : ${{ github.ref == 'refs/heads/master' && needs.build_and_release.outputs.new_release_published == 'true' }}
4445
4546 needs :
4647 - build_and_release
8687 tags : ${{ steps.meta.outputs.tags }}
8788 labels : ${{ steps.meta.outputs.labels }}
8889 platforms : linux/amd64,linux/arm64
89- push : ${{ github.event_name != 'pull_request' }}
90+ push : ${{ github.event_name != 'pull_request' }}
You can’t perform that action at this time.
0 commit comments