Skip to content

Commit

Permalink
Fix templating in .goreleaser.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Chris <github.account@chrigel.net>
  • Loading branch information
cimnine and ccremer committed Aug 19, 2021
1 parent 9706cd1 commit fb3455e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ dockers:
# For prereleases, updating `latest` and the floating tags of the major
# version does not make sense. Only the image for the exact version should
# be pushed.
- "{{ if not .Prerelease }}docker.io/vshn/wrestic:v{{ .Major }}{{ end }}-nonroot"
- "{{ if not .Prerelease }}quay.io/vshn/wrestic:v{{ .Major }}{{ end }}-nonroot"
- "{{ if not .Prerelease }}docker.io/vshn/wrestic:v{{ .Major }}-nonroot{{ end }}"
- "{{ if not .Prerelease }}quay.io/vshn/wrestic:v{{ .Major }}-nonroot{{ end }}"

- "{{ if not .Prerelease }}docker.io/vshn/wrestic:latest{{ end }}-nonroot"
- "{{ if not .Prerelease }}quay.io/vshn/wrestic:latest{{ end }}-nonroot"
- "{{ if not .Prerelease }}docker.io/vshn/wrestic:latest-nonroot{{ end }}"
- "{{ if not .Prerelease }}quay.io/vshn/wrestic:latest-nonroot{{ end }}"
build_flag_templates:
- "--target=wrestic"
extra_files:
Expand Down

0 comments on commit fb3455e

Please sign in to comment.