From d1059d6017a505e2fb4e87f16c3c68b323d43280 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 30 Mar 2026 00:02:48 +0300 Subject: [PATCH] registry: set proxy TTL to 0 to prevent stale :latest images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blob caching (content-addressed by SHA256) is unaffected — only manifest re-validation changes. Every pull now checks upstream for the current manifest digest, eliminating stale :latest tag issues. --- modules/docker-registry/config-proxy.yaml.tpl | 2 +- modules/docker-registry/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/docker-registry/config-proxy.yaml.tpl b/modules/docker-registry/config-proxy.yaml.tpl index dbb9069b..692dc318 100644 --- a/modules/docker-registry/config-proxy.yaml.tpl +++ b/modules/docker-registry/config-proxy.yaml.tpl @@ -27,4 +27,4 @@ health: threshold: 3 proxy: remoteurl: ${remote_url} - ttl: 168h + ttl: 0 diff --git a/modules/docker-registry/config.yaml b/modules/docker-registry/config.yaml index f8d84407..08819e9a 100644 --- a/modules/docker-registry/config.yaml +++ b/modules/docker-registry/config.yaml @@ -38,4 +38,4 @@ proxy: remoteurl: https://registry-1.docker.io username: vbarzin@gmail.com password: ${password} - ttl: 168h + ttl: 0