Skip to content

Commit

Permalink
goreleaser: fix build also for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Sep 14, 2023
1 parent ae4ceb3 commit 9cdd60f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,26 @@ builds:
- 7

dockers:
- id: deploy-agent-linux
- id: deploy-agent-linux-amd64
dockerfile: Dockerfile.goreleaser
goos: linux
goarch:
- amd64
build_flag_templates:
- --pull
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.version={{ .Version }}
image_templates:
- tsuru/deploy-agent:{{ .Tag }}
- tsuru/deploy-agent:v{{ .Major }}
- tsuru/deploy-agent:v{{ .Major }}.{{ .Minor }}
- tsuru/deploy-agent:latest
- id: deploy-agent-linux-arm64
dockerfile: Dockerfile.goreleaser
goos: linux
goarch:
- arm64
build_flag_templates:
- --pull
Expand Down

0 comments on commit 9cdd60f

Please sign in to comment.