I would like the credentials returned by credentials('ecr::') to be usable as environment variables with docker login/podman login.
My site uses podman, not docker for builds, and I am not confident that the docker-workflow plugin will function with podman as the backend, so I am not using it. Instead I am invoking podman using sh().
the login fails with an invalid token. When I inspect $AWS_REGISTRY_PSW, I discover that it is the entire token returned by GetAuthorizationToken, which means it's a base64 encoded string of Username:Password
Instead, I have to ignore the amazon-ecr plugin and do something like this in my steps:
What feature do you want to see added?
I would like the credentials returned by credentials('ecr::') to be usable as environment variables with docker login/podman login.
My site uses podman, not docker for builds, and I am not confident that the docker-workflow plugin will function with podman as the backend, so I am not using it. Instead I am invoking podman using sh().
When I try to log in to an ECR registry, like so:
the login fails with an invalid token. When I inspect $AWS_REGISTRY_PSW, I discover that it is the entire token returned by GetAuthorizationToken, which means it's a base64 encoded string of Username:Password
Instead, I have to ignore the amazon-ecr plugin and do something like this in my
steps
:Upstream changes
No response
Are you interested in contributing this feature?
No response