Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Fix conditional push of Docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed May 3, 2021
1 parent e27cd24 commit 89d4d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v2
with:
push: startsWith(github.ref, 'refs/tags/')
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: |
postfacto/postfacto
postfacto/postfacto:${{ steps.versions.outputs.MAJOR }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
with:
context: ./smoke
file: ./docker/smoke/Dockerfile
push: startsWith(github.ref, 'refs/tags/')
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: |
postfacto/smoke
postfacto/smoke:${{ steps.versions.outputs.MAJOR }}
Expand Down

0 comments on commit 89d4d5e

Please sign in to comment.