Skip to content

Commit

Permalink
Merge branch 'main' into feat/276/docker-loadable
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys authored Sep 18, 2024
2 parents 562b074 + 01eebd5 commit bb264b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ release:

env:
- vpkg=hauler.dev/go/hauler/internal/version
- cosign_version=v2.2.3+carbide.2
- cosign_version=v2.2.3+carbide.3

builds:
- main: cmd/hauler/main.go
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GO_FILES=$(shell go list ./... | grep -v /vendor/)
GO_COVERPROFILE=coverage.out

# set cosign variables
COSIGN_VERSION=v2.2.3+carbide.2
COSIGN_VERSION=v2.2.3+carbide.3

# set build variables
BIN_DIRECTORY=bin
Expand Down
6 changes: 5 additions & 1 deletion cmd/hauler/cli/store/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ func newItem(s *store.Layout, desc ocispec.Descriptor, m ocispec.Manifest, plat
ctype = "sbom"
}

ref, err := reference.Parse(desc.Annotations[ocispec.AnnotationRefName])
refName := desc.Annotations["io.containerd.image.name"]
if refName == "" {
refName = desc.Annotations[ocispec.AnnotationRefName]
}
ref, err := reference.Parse(refName)
if err != nil {
return item{}
}
Expand Down

0 comments on commit bb264b9

Please sign in to comment.