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

gcrane: images in gcr.io/go-containerregistry/gcrane have errors and become unusable #2039

Open
chizhg opened this issue Dec 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chizhg
Copy link
Member

chizhg commented Dec 13, 2024

Describe the bug

The images in gcr.io/go-containerregistry/gcrane were updated yesterday and are not usable as before now

To Reproduce

docker pull gcr.io/go-containerregistry/gcrane@sha256:f5439b41bf9909ecb413b40ebb10a9f4884bd0c82e61e415a5bcb588133e4936
gcr.io/go-containerregistry/gcrane@sha256:f5439b41bf9909ecb413b40ebb10a9f4884bd0c82e61e415a5bcb588133e4936: Pulling from go-containerregistry/gcrane
c98c7b4b8e5c: Extracting [==================================================>] 19.31kB/19.31kB
failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header

Expected behavior

Should be able to successfully pull the image

Additional context

Even though I was able to pull it with certain digest, e.g. docker pull gcr.io/go-containerregistry/gcrane@sha256:b04595f709812091b9f55059bce5bf05ef6c9869b677753b7c817167a0105368, running the command got exec /ko-app/gcrane: exec format error

@chizhg chizhg added the bug Something isn't working label Dec 13, 2024
@chizhg chizhg changed the title gcrane: images in gcr.io/go-containerregistry/gcrane have format error gcrane: images in gcr.io/go-containerregistry/gcrane have errors and become unusable Dec 13, 2024
@davmacario
Copy link

Apparently all the tags but latest and debug have disappeared from the registry. Same goes for gcr.io/go-containerregistry/crane/debug

@max-wittig
Copy link
Contributor

We switched to skopeo. It does the same job of copying images from one registry to the next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants