Skip to content

Commit

Permalink
Fix docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Mar 24, 2021
1 parent a37149e commit 60dd19a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ builds:
goos:
- linux
goarch:
- 386
- amd64 # We need a non-pie build for Docker Images
- arm
- 386
goarm:
- 6
- 7
Expand All @@ -55,8 +56,8 @@ builds:
goos:
- windows
goarch:
- 386
- amd64
- 386

archives:
- <<: &archive_defaults
Expand Down Expand Up @@ -133,7 +134,9 @@ brews:
assert_match "Axiom CLI version #{version}", shell_output("#{bin}/{{ .ProjectName }} -v")
dockers:
- image_templates:
- ids:
- linux-no-pie
image_templates:
- "axiomhq/cli:{{ .Major }}"
- "axiomhq/cli:{{ .Major }}.{{ .Minor }}"
- "axiomhq/cli:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
Expand Down

0 comments on commit 60dd19a

Please sign in to comment.