Fix zuul publish docker image job
Add tag to docker push command Change-Id: I6deeb7f5205d045e45c70729c87168cc6445534a
This commit is contained in:
parent
45df91ada8
commit
952c4c12fc
@ -9,4 +9,4 @@
|
|||||||
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
|
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
|
||||||
|
|
||||||
- name: Push to Docker Hub all tags
|
- 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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user