Skip to content

Commit

Permalink
ci: only publish docker on actual version releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Oct 22, 2021
1 parent 36549c8 commit 672902f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:

runs-on: ubuntu-latest

if: ${{ needs.metadata.outputs.dockerfile == 'yes' }}
if: ${{ needs.metadata.outputs.dockerfile == 'yes' && needs.release.outputs.published == 'true'}}

steps:
- uses: actions/checkout@v2.3.5
Expand Down

0 comments on commit 672902f

Please sign in to comment.