Fix zuul publish docker image job
Add tag to docker push command with specific branch name Change-Id: Ie4b135c456333cd8a98cfb1d5231351786d1dd86
This commit is contained in:
parent
ccae320767
commit
9aa47afe5d
@ -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/base:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
|
||||
shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user