github: publish only released images
This commit is contained in:
parent
7dfdbcd456
commit
a1245cd381
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish_to_dockerhub.yml
vendored
3
.github/workflows/publish_to_dockerhub.yml
vendored
|
@ -85,5 +85,6 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Push images to registry
|
||||
- name: Push released images to registry
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
run: make image-push
|
||||
|
|
Loading…
Reference in a new issue