Fix zuul publish docker image job

Change-Id: I7447531d539bced473a6671d5b048eb5130881e4
This commit is contained in:
Adrian Czarnecki 2021-03-18 09:45:44 -07:00
parent abc8f5982e
commit 9fd6d1ffc9
1 changed files with 3 additions and 3 deletions

View File

@ -9,10 +9,10 @@
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
- name: Push to Docker Hub all agent-collector tags
shell: "docker push monasca/agent-collector"
shell: "docker push monasca/agent-collector:{{ zuul.tag if zuul.pipeline == 'release' else 'master' }}"
- name: Push to Docker Hub all agent-forwarder tags
shell: "docker push monasca/agent-forwarder"
shell: "docker push monasca/agent-forwarder:{{ zuul.tag if zuul.pipeline == 'release' else 'master' }}"
- name: Push to Docker Hub all statsd tags
shell: "docker push monasca/statsd"
shell: "docker push monasca/statsd:{{ zuul.tag if zuul.pipeline == 'release' else 'master' }}"