Change docker workflow for latest_release tag (#2468)
This commit is contained in:
parent
79575f3376
commit
77d11bb4b4
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
tags: pyfound/black:latest,pyfound/black:${{ env.GIT_TAG }}
|
tags: pyfound/black:latest,pyfound/black:${{ env.GIT_TAG }}
|
||||||
|
|
||||||
- name: Build and push latest_release tag
|
- name: Build and push latest_release tag
|
||||||
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
|
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
Loading…
Reference in New Issue
Block a user