Fix zuul publish docker image job

Add tag to docker push command

Change-Id: I531c7349f51248bbc6050755d821f444d75141a5
This commit is contained in:
Martin Chacon Piza 2021-02-02 15:41:54 +01:00
parent e495a567b0
commit 99f6cf2b1c
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/base"
shell: "docker push monasca/base:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"