Skip to content

Fix regcache for registry 3.x config loading#1285

Merged
tamalsaha merged 2 commits into
masterfrom
arnob-regcache-3x
Jun 28, 2026
Merged

Fix regcache for registry 3.x config loading#1285
tamalsaha merged 2 commits into
masterfrom
arnob-regcache-3x

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

registry:3 ignores REGISTRY_CONFIGURATION_PATH and serves its built-in /etc/distribution/config.yml, so the pull-through proxy config never loaded — every pull returned manifest unknown.

  • Pass the config path as an arg: registry serve /etc/docker/registry/config.yml
  • Add age/interval/dryrun/dontcleanuptmpdir that 3.x requires when uploadpurging is enabled

Verified live: registry now logs "configured as a proxy cache to https://ghcr.io".

registry:3 ignores REGISTRY_CONFIGURATION_PATH and serves the built-in
/etc/distribution/config.yml, so the pull-through proxy config was never
loaded (every pull returned manifest unknown). Pass the config path as an
arg instead, and add the age/interval/dryrun/dontcleanuptmpdir fields that
3.x requires when uploadpurging is enabled.

Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
@ArnobKumarSaha ArnobKumarSaha added the automerge Kodiak will auto merge PRs that have this label label Jun 28, 2026
tamalsaha
tamalsaha previously approved these changes Jun 28, 2026
@tamalsaha

Copy link
Copy Markdown
Member

We want 72h

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha merged commit 1cbc1ef into master Jun 28, 2026
4 checks passed
@tamalsaha tamalsaha deleted the arnob-regcache-3x branch June 28, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Kodiak will auto merge PRs that have this label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants