In order to fix this issue, we need to use authfile to buildah login
```
❯ buildah login --help
Login to a container registry on a specified server.
Usage:
buildah login [flags]
Examples:
buildah login quay.io
Flags:
--authfile string path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override
--cert-dir string use certificates at the specified path to access the registry
--get-login return the current login user for the registry (default true)
-h, --help help for login
-p, --password string Password for registry
--password-stdin Take the password from stdin
--tls-verify require HTTPS and verify certificates when accessing the registry. TLS verification cannot be used when talking to an insecure registry. (default true)
-u, --username string Username for registry
-v, --verbose Write more detailed information to stdout
```
authfile support is not present in tripleo-ansible tripleo-podman role https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/roles/tripleo_podman/tasks/buildah_login.yml#L35
In order to fix this issue, we need to use authfile to buildah login
```
❯ buildah login --help
Login to a container registry on a specified server.
Usage:
buildah login [flags]
Examples:
buildah login quay.io
Flags: -password- stdin Take the password from stdin /opendev. org/openstack/ tripleo- ansible/ src/branch/ master/ tripleo_ ansible/ roles/tripleo_ podman/ tasks/buildah_ login.yml# L35
--authfile string path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override
--cert-dir string use certificates at the specified path to access the registry
--get-login return the current login user for the registry (default true)
-h, --help help for login
-p, --password string Password for registry
-
--tls-verify require HTTPS and verify certificates when accessing the registry. TLS verification cannot be used when talking to an insecure registry. (default true)
-u, --username string Username for registry
-v, --verbose Write more detailed information to stdout
```
authfile support is not present in tripleo-ansible tripleo-podman role https:/
https:/ /github. com/rdo- infra/review. rdoproject. org-config/ blob/5caeb76df5 feeee5151636353 34c4cc6dd7f8620 /playbooks/ tripleo- rdo-base/ container- login.yaml# L88 is used in container build job.
So I think we need to revert the above patch and then add authfile support in tripleo-podman and re-revert the patch.