i have been having this issue lately when i am trying to deploy a new version of the app
the pipeline fails because it cannot push the image that was just created to the registry.
we are using GCP as the registry.
+ docker push eu.gcr.io/$GCP_PROJECT_ID/webapp:$BITBUCKET_COMMIT
The push refers to repository [eu.gcr.io/$GCP_PROJECT_ID/webapp]
5cc2bfc009e2: Preparing
.....
10791dd0d7c7: Waiting
denied: Access denied.
the weird thing is that logging in to docker seems to work
+ cat keyfile.json | docker login -u _json_key --password-stdin https://eu.gcr.io
WARNING! Your password will be stored unencrypted
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
Hi Adam and welcome to the community.
The "Access denied" error indicates most likely an issue with the credentials used to authenticate to the registry.
Would you be able to check if the credentials have been set up correctly, if they have the appropriate permissions to push to the registry, or if they have been recently changed?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.