Skip to content

Commit

Permalink
ci: fixing the container image semantic release version used for immu…
Browse files Browse the repository at this point in the history
…table image tags to include a v (bomctl#59)

Signed-off-by: Ian Dunbar-Hall <ian.dunbar-hall@lmco.com>
  • Loading branch information
idunbarh authored May 29, 2024
1 parent dd5540b commit 6dc2290
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ builds:

dockers:
- image_templates:
- bomctl/bomctl:{{ .Version }}-amd64
- bomctl/bomctl:v{{ .Version }}-amd64
- bomctl/bomctl:v{{ .Major }}-amd64
- bomctl/bomctl:v{{ .Major }}.{{ .Minor }}-amd64
dockerfile: Dockerfile
Expand All @@ -69,12 +69,12 @@ dockers:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/bomctl/bomctl
- --label=org.opencontainers.image.source=https://github.com/bomctl/bomctl
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.version=v{{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0

- image_templates:
- bomctl/bomctl:{{ .Version }}-arm64v8
- bomctl/bomctl:v{{ .Version }}-arm64v8
- bomctl/bomctl:v{{ .Major }}-arm64v8
- bomctl/bomctl:v{{ .Major }}.{{ .Minor }}-arm64v8
goarch: arm64
Expand All @@ -85,15 +85,15 @@ dockers:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/bomctl/bomctl
- --label=org.opencontainers.image.source=https://github.com/bomctl/bomctl
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.version=v{{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0

docker_manifests:
- name_template: bomctl/bomctl:{{ .Version }}
- name_template: bomctl/bomctl:v{{ .Version }}
image_templates:
- bomctl/bomctl:{{ .Version }}-amd64
- bomctl/bomctl:{{ .Version }}-arm64v8
- bomctl/bomctl:v{{ .Version }}-amd64
- bomctl/bomctl:v{{ .Version }}-arm64v8
- name_template: bomctl/bomctl:v{{ .Major }}
image_templates:
- bomctl/bomctl:v{{ .Major }}-amd64
Expand All @@ -104,8 +104,8 @@ docker_manifests:
- bomctl/bomctl:v{{ .Major }}.{{ .Minor }}-arm64v8
- name_template: bomctl/bomctl:latest
image_templates:
- bomctl/bomctl:{{ .Version }}-amd64
- bomctl/bomctl:{{ .Version }}-arm64v8
- bomctl/bomctl:v{{ .Version }}-amd64
- bomctl/bomctl:v{{ .Version }}-arm64v8

sboms:
- id: generate-cyclonedx
Expand Down

0 comments on commit 6dc2290

Please sign in to comment.