Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: Add option to store docker build cache in ECR image resource #1515

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

larrywax
Copy link
Contributor

@larrywax larrywax commented Feb 7, 2025

Add cacheTo arg to configure the underlying docker cacheTo option, a list of ECR registries is expected.
I added some sane defaults to the config, but I would love a feedback on that.

Note that imageManifest: true and ociMediaTypes: true are required for ECR registries, but I don't really know if they can cause issues with other types of registries. In any case, I don't think it's a big deal, this is a component tailor-made for AWS solutions.

It falls back to the old behaviour (inline cache) if no parameter is specified

Copy link

github-actions bot commented Feb 7, 2025

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

Copy link

github-actions bot commented Feb 7, 2025

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@larrywax
Copy link
Contributor Author

Hi, can someone give feedback on this?
Thanks

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

Successfully merging this pull request may close these issues.

1 participant