github: publish only released images

This commit is contained in:
Anna Shaleva 2021-02-25 14:54:14 +03:00
parent 7dfdbcd456
commit a1245cd381

View file

@ -85,5 +85,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Push images to registry - name: Push released images to registry
if: ${{ github.event_name == 'release' }}
run: make image-push run: make image-push