Skip to content

Commit

Permalink
Refine container image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Jun 13, 2020
1 parent 208c88d commit ef87835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ dockers:
- "{{ .ProjectName }}"
image_templates:
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:latest"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down

0 comments on commit ef87835

Please sign in to comment.