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