release: prefix all version tags with "v"

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.
This commit is contained in:
Lucas Ritzdorf 2024-08-21 11:36:15 -06:00
parent 0ded418ee6
commit 327eb35f4a
No known key found for this signature in database
GPG key ID: 2DF95A24773EC007

View file

@ -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}}"