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

To build an image which base is in ECR and needs additional authentication #57

Closed
clamorisse opened this issue Feb 9, 2021 · 3 comments

Comments

@clamorisse
Copy link

Is there a way to build an image based on another image stored in our ECR in AWS? We haven't been able to pass the proper authentication to pull the base image, failing with an ACCESS DENIED error.
Thanks.

@chenbh
Copy link
Contributor

chenbh commented Feb 10, 2021

The recommended way is to fetch the image via registry-image-resource first and then pass it into the build-task. See #14 (comment) for more details

@ringods
Copy link

ringods commented Mar 2, 2021

I just bumped into this because I had a similar situation, only my base image was on Google Cloud Artifact Registry. I implemented the setup as described by @vito in #52 and it worked flawlessly.

@vito
Copy link
Member

vito commented Mar 3, 2021

Going to close this per the last two comments - that's the recommended approach, as supporting the same level of auth/access that the registry-image resource type supports is a lot of duplicate effort. Using registry-image resource to represent the base image also allows the input to be versioned and controlled more precisely.

@vito vito closed this as completed Mar 3, 2021
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

4 participants