On 1/28/21 8:05 AM, Pavel Mores wrote:
Hi,
is it possible to have podman use multiple secrets for a single registry?
I'm not sure I fully understand the question.
However, based on my knowledge of using quay.io in automation, I think
you _have_ to use multiple, distinct secrets. Quay automatically
"namespaces" robot login usernames. i.e. a quay.io/foobar robot account
will always begin with a 'foobar-' prefix.
So as far as auth.json goes, my experience is you will need to re-login
with different username every time you want to push to a different
repository namespace. Assuming you're using robot accounts...which you
should be :D
--
Chris Evich, RHCA III
Senior Quality Assurance Engineer
If it ain't broke, yain't tryin' hard nough.