`ErrImagePull ... failed to resolve reference "111122223333.dkr.ecr.ap-south-1.amazonaws.com/shack-api@sha256:...": not found` after a deploy.
AdvancedTroubleshootingDeployments, Environments & Releases
Answer
Likely causes → The digest output was from the local build (config digest or a platform-specific digest) rather than the pushed manifest digest, or the image was pushed to another region or account.
Diagnose →
aws ecr describe-images --repository-name shack-api --query 'imageDetails[?imageTags!=`null`]|[0:5].[imageTags,imageDigest]'
Fix → Take the digest from docker/build-push-action output digest, or after docker push from docker inspect --format '{{index .RepoDigests 0}}'.
Prevent → Verify the digest exists in the registry before deploying (aws ecr describe-images --image-ids imageDigest=...).
More on Deployments, Environments & Releases
`Branch "feature/login" is not allowed to deploy to prod due to environment protection rules.`BeginnerDeploy job shows `Waiting for review: prod needs approval to start deploying changes` but no reviewer got notified.Beginner`Canceling since a higher priority waiting request for 'deploy-prod' exists`Intermediate`kubectl rollout status` timed out: `error: deployment "shack-api" exceeded its progress deadline`IntermediateRelease workflow `gh release create` fails with `HTTP 403: Resource not accessible by integration`Beginner`gh release create v1.4.0 --verify-tag` fails with `tag v1.4.0 doesn't exist in the repo`.Beginner