Change docker workflow for latest_release tag (#2468)

This commit is contained in:
pszlazak 2021-08-31 20:26:31 +02:00 committed by GitHub
parent 79575f3376
commit 77d11bb4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: .