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

Add a way to remap registries to use pull-though cache #2990

Closed
babs opened this issue Feb 5, 2024 · 1 comment
Closed

Add a way to remap registries to use pull-though cache #2990

babs opened this issue Feb 5, 2024 · 1 comment
Assignees
Labels
area/registry For all bugs having to do with pushing/pulling into registries feat/registry-mirror kind/feature-request

Comments

@babs
Copy link
Contributor

babs commented Feb 5, 2024

Actual behavior

Currently, a pull-through cache mechanism has been implemented to circumvent docker.io rate limiting.

Expected behavior

I would be nice to generalize this option to any registry, being able to remap any registry (gcr, quay etc) to an internal one.
This would be useful for air-gapped installation, make build more reliable, faster, not dependent of external resources, limit transit costs etc or cases when prefilling the cache is not an option.

Additional Information

There is a PR open to address this subject, feedback is welcome (PR #2935).

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
  • - N/A
Please check if this error is seen when you use --cache flag
  • - N/A
Please check if your dockerfile is a multistage dockerfile
  • - N/A
@JeromeJu JeromeJu added kind/feature-request area/registry For all bugs having to do with pushing/pulling into registries feat/registry-mirror labels Feb 7, 2024
@JeromeJu JeromeJu self-assigned this Feb 14, 2024
@babs
Copy link
Contributor Author

babs commented Feb 15, 2024

Merged ;)

@babs babs closed this as completed Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry For all bugs having to do with pushing/pulling into registries feat/registry-mirror kind/feature-request
Projects
None yet
Development

No branches or pull requests

2 participants