registry: set proxy TTL to 0 to prevent stale :latest images
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.
This commit is contained in:
parent
28587c674d
commit
d1059d6017
2 changed files with 2 additions and 2 deletions
|
|
@ -27,4 +27,4 @@ health:
|
|||
threshold: 3
|
||||
proxy:
|
||||
remoteurl: ${remote_url}
|
||||
ttl: 168h
|
||||
ttl: 0
|
||||
|
|
|
|||
|
|
@ -38,4 +38,4 @@ proxy:
|
|||
remoteurl: https://registry-1.docker.io
|
||||
username: vbarzin@gmail.com
|
||||
password: ${password}
|
||||
ttl: 168h
|
||||
ttl: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue