How to config AWS credential to ECR output #3679
emersonramos
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I deployed buildkit using kubernetes - deployment+Service and I have a pipeline to build images using this one.
I didn't understand how to config AWS Credential to output the image to ECR. I'm using this command:
buildctl --addr tcp://buildkitd:1234
build --frontend dockerfile.v0 --local context=. --local dockerfile=.
--output type=image,name=<ECR_URL>/REPO:TAG,push=true
And I get this error: 401 Unauthorized
I tried to config the AWS credential on pipeline, but I get the same error.
Beta Was this translation helpful? Give feedback.
All reactions