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

Bump google/go-containerregistry module version #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HeavyWombat
Copy link

With an older version of the google/go-containerregistry, there seems to be an issue with pushing the image to the container registry when the image is built with newer Docker build engines.

Could be related to: #356.

What I tried:

  • use docker build to create an image
    Server: Docker Engine - Community
    Engine:
      Version:          27.3.1
      API version:      1.47 (minimum version 1.24)
      Go version:       go1.22.7
      Git commit:       41ca978
      Built:            Fri Sep 20 11:41:03 2024
      OS/Arch:          linux/amd64
      Experimental:     false
    
  • try to push using registry-image resource, which fails with: MANIFEST_BLOB_UNKNOWN: blob unknown to registry
  • create custom registry-image resource with updated google/go-containerregistry dependency
  • re-run the same build and push with custom resource, runs through successful

With an older version of the `google/go-containerregistry`, there seems
to be an issue with pushing the image to the container registry when the
image is built with newer Docker build engines.

Ref: concourse#356.

Bump `google/go-containerregistry` to latest available version.

Signed-off-by: Matthias Diester <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant