tripleo-ansible/tripleo_ansible/roles/tripleo_podman
yatinkarel ee70524bab Login with buildah too to allow registry access with buildah
buildah login and podman login with root do not share same
authfile, buildah uses /run/containers/0/auth.json while
podman uses /run/user/0/containers/auth.json resulted from
$XDG_RUNTIME_DIR.

To ensure both podman and buildah can access the configured
registry, run login command with both.

It's mainly needed as container images are being pushed
with tripleoclient using sudo buildah push and buildah creds
are not setup.

Related-Bug: #1886555
Change-Id: I3d38d406e9f63008f7060f31cc9ff378e97120bb
(cherry picked from commit 067a315df9)
2020-07-08 03:59:06 +00:00
..
defaults Ensure that the playbooks and roles can display debug data when enabled 2020-05-28 02:30:01 +00:00
meta Add Centos 8 to galaxy_info versions 2020-03-19 14:22:08 +01:00
molecule Use registry:2.7.0 instead of registry:2 2020-07-08 03:58:01 +00:00
tasks Login with buildah too to allow registry access with buildah 2020-07-08 03:59:06 +00:00
templates Add support for v2 registries.conf 2020-04-16 13:15:03 +00:00
vars Login with buildah too to allow registry access with buildah 2020-07-08 03:59:06 +00:00