Fix zuul publish docker image job

Add tag to docker push command with specific branch name

Change-Id: I67de142000f41896c2c9367b49d21034ec4e5229
This commit is contained in:
Martin Chacon Piza 2022-01-31 14:26:41 +01:00
parent 7e2201fff3
commit c370d7467a
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/notification:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"
shell: "docker push monasca/notification:{{ zuul.tag if zuul.pipeline == 'release' else 'stable-xena'}}"