Skip to content

Commit

Permalink
release: prefix all version tags with "v"
Browse files Browse the repository at this point in the history
The goreleaser `.Tag` template already uses the format `vX.Y.Z`, so
that's fine. But our custom `.Major` and `.Major.Minor` formats don't
include that `v` prefix, so we need to add it manually.
  • Loading branch information
LRitzdorf committed Aug 21, 2024
1 parent 0ded418 commit 327eb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dockers:
image_templates:
- ghcr.io/openchami/{{.ProjectName}}:latest
- ghcr.io/openchami/{{.ProjectName}}:{{ .Tag }}
- ghcr.io/openchami/{{.ProjectName}}:{{ .Major }}
- ghcr.io/openchami/{{.ProjectName}}:{{ .Major }}.{{ .Minor }}
- ghcr.io/openchami/{{.ProjectName}}:v{{ .Major }}
- ghcr.io/openchami/{{.ProjectName}}:v{{ .Major }}.{{ .Minor }}
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down

0 comments on commit 327eb35

Please sign in to comment.