Skip to content

ggcr: docker build failure for v0.20.4 and v0.20.5 #2108

@picatz

Description

@picatz

Describe the bug

🐛 While working on google/osv-scalibr#779, I ran into an unexpected build failure related to the github.com/google/go-containerregistry package. Maybe another case like #2072 / #2073 / #2071? Not sure what to think of it yet, but figured I'd report it in case others were having issues too.

To Reproduce

# github.com/google/go-containerregistry/pkg/v1/daemon ../../../go/pkg/mod/github.com/google/go-containerregistry@v0.20.5/pkg/v1/daemon/image.go:296:35: cannot use inspect.Config (variable of type *"github.com/moby/docker-image-spec/specs-go/v1".DockerOCIImageConfig) as *container.Config value in argument to i.computeImageConfig FAIL ... [build failed] FAIL

Expected behavior

No build failure.

Additional context

Seems to impact both v0.20.4 and v0.20.5. Unlike #2071 (comment), doesn't look like there's a fix available to use?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions