Fix zuul publish docker image job

Add tag to docker push command

Change-Id: I6deeb7f5205d045e45c70729c87168cc6445534a
This commit is contained in:
Martin Chacon Piza 2021-02-08 12:28:32 +01:00
parent 45df91ada8
commit 952c4c12fc
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
- name: Push to Docker Hub all tags
shell: "docker push monasca/client"
shell: "docker push monasca/client:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"