mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
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:
parent
0ded418ee6
commit
327eb35f4a
1 changed files with 2 additions and 2 deletions
|
|
@ -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}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue