Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to push multi-arch images to public.ecr.aws #1

Closed
masterkain opened this issue Aug 13, 2022 · 1 comment
Closed

unable to push multi-arch images to public.ecr.aws #1

masterkain opened this issue Aug 13, 2022 · 1 comment

Comments

@masterkain
Copy link

masterkain commented Aug 13, 2022

hello,
in drone I've used different docker plugins with some success: plugins/ecr, thegeeklab/drone-docker-buildx, plugins/kaniko-ecr:1.5.1-kaniko1.8.1

now I have this project where I have to pull base images from a mirror, build multi-arch and push to ECR (public) but I cannot find the right combination of parameters to pass to drone-docker-buildx-ecr - maybe some are straight up incompatible.

+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock
Detected registry credentials

Error response from daemon: login attempt to https://public.ecr.aws/v2/ failed with status: 400 Bad Request

time="2022-08-13T17:56:21Z" level=fatal msg="Error authenticating: exit status 1"
time="2022-08-13T17:56:21Z" level=fatal msg="exit status 1"

I've now wasted a bit of time trying to get this working, do you have any tips to share? like registry and repo string formats.
Public AWS has a registry like `https://public.ecr.aws/u8b9s1p2' which should be the root, then you have the repos.

@masterkain
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant