push only if master
This commit is contained in:
parent
3e5550cf92
commit
6b73b1372d
@ -30,7 +30,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: https://github.com/docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
push: ${{ github.ref == 'refs/heads/master' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
|
Reference in New Issue
Block a user