Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Migrate disks to quay.io #25

Open
cgwalters opened this issue Jan 2, 2024 · 0 comments
Open

Migrate disks to quay.io #25

cgwalters opened this issue Jan 2, 2024 · 0 comments

Comments

@cgwalters
Copy link
Member

We landed a PR to build disk images which pushes to ghcr.io and not quay.io, because quay.io is rejecting our pushes:

$ oras push --debug --registry-config ~/.config/containers/auth.json --export-manifest out.json quay.io/cgwalters/bootc-cloud-image image.yaml                                                                                01/02/24 13:11:25 PM
DEBU[0000]  Request URL: "https://quay.io/v2/cgwalters/bootc-cloud-image/manifests/sha256:0ed566dfce61edc2eba10b167d7ddeb238b00ff51010cce0042ef2471334a6c0" 
DEBU[0000]  Request method: "HEAD"                      
DEBU[0000]  Request headers:                            
DEBU[0000]    "Accept": "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, application/vnd.oci.artifact.manifest.v1+json" 
DEBU[0000]    "User-Agent": "oras/0.15.0+unreleased"    
DEBU[0000]  Response Status: "404 Not Found"            
DEBU[0000]  Response headers:                           
DEBU[0000]    "Vary": "Cookie"                          
DEBU[0000]    "Date": "Tue, 02 Jan 2024 18:11:25 GMT"   
DEBU[0000]    "Content-Type": "application/json"        
DEBU[0000]    "Content-Length": "82"                    
DEBU[0000]    "Server": "nginx/1.20.1"                  
DEBU[0000]  Request URL: "https://quay.io/v2/cgwalters/bootc-cloud-image/blobs/sha256:ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356" 
DEBU[0000]  Request method: "HEAD"                      
DEBU[0000]  Request headers:                            
DEBU[0000]    "User-Agent": "oras/0.15.0+unreleased"    
DEBU[0000]  Response Status: "200 OK"                   
DEBU[0000]  Response headers:                           
DEBU[0000]    "Docker-Content-Digest": "sha256:ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356" 
DEBU[0000]    "Cache-Control": "max-age=31436000"       
DEBU[0000]    "X-Frame-Options": "DENY"                 
DEBU[0000]    "Strict-Transport-Security": "max-age=63072000; preload" 
DEBU[0000]    "Server": "nginx/1.20.1"                  
DEBU[0000]    "Content-Type": "application/octet-stream" 
DEBU[0000]    "Content-Length": "3"                     
DEBU[0000]    "Vary": "Cookie"                          
DEBU[0000]    "Date": "Tue, 02 Jan 2024 18:11:25 GMT"   
Exists    ca3d163bab05 image.yaml
DEBU[0000]  Request URL: "https://quay.io/v2/cgwalters/bootc-cloud-image/manifests/sha256:0ed566dfce61edc2eba10b167d7ddeb238b00ff51010cce0042ef2471334a6c0" 
DEBU[0000]  Request method: "PUT"                       
DEBU[0000]  Request headers:                            
DEBU[0000]    "Content-Type": "application/vnd.oci.artifact.manifest.v1+json" 
DEBU[0000]    "User-Agent": "oras/0.15.0+unreleased"    
DEBU[0000]  Response Status: "415 Unsupported Media Type" 
DEBU[0000]  Response headers:                           
DEBU[0000]    "Date": "Tue, 02 Jan 2024 18:11:26 GMT"   
DEBU[0000]    "Content-Type": "application/json"        
DEBU[0000]    "Content-Length": "131"                   
DEBU[0000]    "Server": "nginx/1.20.1"                  
DEBU[0000]    "Vary": "Cookie"                          
Error: PUT "https://quay.io/v2/cgwalters/bootc-cloud-image/manifests/sha256:0ed566dfce61edc2eba10b167d7ddeb238b00ff51010cce0042ef2471334a6c0": response status code 415: manifest invalid: manifest invalid: map[message:manifest schema version not supported]
$

This issue tracks work necessary to fix this to move to quay.io for consistency. According to internal chat the quay team says they have dropped the allowlist for the public quay.io instance, but the exact same command works with ghcr.io but is rejected by quay.io here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant