Fix image push
Change-Id: I5bb674f4ce5752d37cac74aed6f97fba21ba3e0d Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
parent
d910229ce9
commit
d41750aa03
@ -6,7 +6,7 @@
|
|||||||
block:
|
block:
|
||||||
- command: docker login -u {{ loci_docker_login.user }} -p {{ loci_docker_login.password }}
|
- command: docker login -u {{ loci_docker_login.user }} -p {{ loci_docker_login.password }}
|
||||||
no_log: True
|
no_log: True
|
||||||
- command: docker push loci/{{ project }}:{{ branch }}-{{ item.name }}
|
- command: docker push loci/{{ project }}:{{ item.release }}-{{ item.name }}
|
||||||
with_items: "{{ distros }}"
|
with_items: "{{ distros }}"
|
||||||
when: &condition >
|
when: &condition >
|
||||||
supported_releases is undefined or
|
supported_releases is undefined or
|
||||||
@ -16,9 +16,9 @@
|
|||||||
block:
|
block:
|
||||||
- command: docker login -u {{ loci_docker_login.user }} -p {{ loci_docker_login.password }} quay.io
|
- command: docker login -u {{ loci_docker_login.user }} -p {{ loci_docker_login.password }} quay.io
|
||||||
no_log: True
|
no_log: True
|
||||||
- command: docker tag loci/{{ project }}:{{ branch }}-{{ item.name }} quay.io/loci/{{ project }}:{{ branch }}-{{ item.name }}
|
- command: docker tag loci/{{ project }}:{{ item.release }}-{{ item.name }} quay.io/loci/{{ project }}:{{ item.release }}-{{ item.name }}
|
||||||
with_items: "{{ distros }}"
|
with_items: "{{ distros }}"
|
||||||
when: *condition
|
when: *condition
|
||||||
- command: docker push quay.io/loci/{{ project }}:{{ branch }}-{{ item.name }}
|
- command: docker push quay.io/loci/{{ project }}:{{ item.release }}-{{ item.name }}
|
||||||
with_items: "{{ distros }}"
|
with_items: "{{ distros }}"
|
||||||
when: *condition
|
when: *condition
|
||||||
|
Loading…
Reference in New Issue
Block a user