Comment 1 for bug 1847664

Revision history for this message
Rafael Folco (rafaelfolco) wrote :

Assigning to myself...
The idea is to:
- break down retag/push [1] into separate steps. Retag remains in tripleo-ci role, while push will be moved to rdo-infra/config.
- the new push on rdo-infra/config will have 2 separate tasks: one for docker, which relies on docker_login step, and another one for buildah. The push will be similiar to tag.yaml [1] but will be push.yaml, and should be a similar loop to [2].
- push.yaml should have a podman task for pushing retagged images w/ --creds, as docker_login is out of play here.

[1] https://github.com/openstack/tripleo-ci/blob/master/roles/build-containers/tasks/tag.yaml#L8
[2] https://github.com/openstack/tripleo-ci/blob/master/roles/build-containers/tasks/main.yaml#L182-L201
[3] https://github.com/rdo-infra/review.rdoproject.org-config/blob/30b062263aa05baae3072574633748665f3ee108/playbooks/tripleo-ci-periodic-base/containers-push-podman-login-push.yaml#L23