Skip retag/push w/ _arch suffix for rhel8/podman

rhel8 containers will be retagged and pushed to registry in a
separated task in rdo-infra/config repository. podman command
can be invoked with --creds from there.

Change-Id: I4dc893f7e49243496c83197b0aaa04ea2659108c
Related-Bug: #1847664
This commit is contained in:
Rafael Folco 2019-10-14 12:43:52 -03:00 committed by wes hayutin
parent 39bb0d6250
commit 7d697643f0

View File

@ -182,8 +182,8 @@
- name: Retrieve list of built x86_64 images, retag, and push
when:
- ansible_architecture == "x86_64"
- push_containers | bool or
push_containers_podman | default(false) | bool
- push_containers | bool
- not push_containers_podman | default(false) | bool
block:
- name: Retrieve built images
command: "awk '{ print $1 }' {{ workspace }}/containers-successfully-built.log"