mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
buld more standard containers
This commit is contained in:
parent
3262377acb
commit
4c172958c6
1 changed files with 9 additions and 14 deletions
|
|
@ -12,21 +12,16 @@ builds:
|
||||||
- amd64
|
- amd64
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "bikeshack.azurecr.io/magellan:latest"
|
- bikeshack/{{.ProjectName}}:latest
|
||||||
- "bikeshack.azurecr.io/magellan:{{ .Major }}"
|
- bikeshack/{{.ProjectName}}:{{ .Tag }}
|
||||||
- "bikeshack.azurecr.io/magellan:{{ .Major }}.{{ .Minor }}"
|
- bikeshack/{{.ProjectName}}:{{ .Major }}
|
||||||
- "bikeshack.azurecr.io/magellan:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
- bikeshack/{{.ProjectName}}:{{ .Major }}.{{ .Minor }}
|
||||||
dockerfile: goreleaser.Dockerfile
|
|
||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- "--pull"
|
- "--pull"
|
||||||
- "--no-cache"
|
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||||
- "--build-arg=REGISTRY_HOST=docker.io/library/"
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||||
# OCI annotations: https://github.com/opencontainers/image-spec/blob/main/annotations.md
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||||
- "--label=org.opencontainers.image.name={{.ProjectName}}"
|
|
||||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
||||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
||||||
- "--label=org.opencontainers.image.source={{.GitURL}}"
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
rlcp: true
|
rlcp: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue