Skip to content

Commit

Permalink
ci: also release to arm
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Sep 14, 2023
1 parent a50ec83 commit 1fcec70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
push: true
tags: tsuru/deploy-agent:latest
platforms: linux/amd64,linux/arm64

release:
if: github.event_name != 'pull_request' && github.repository == 'tsuru/deploy-agent' && startsWith(github.ref, 'refs/tags/')
Expand Down
6 changes: 4 additions & 2 deletions goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ builds:
- 7

dockers:
- id: deploy-agent-linux-amd64
- id: deploy-agent-linux
dockerfile: Dockerfile.goreleaser
goos: linux
goarch: amd64
goarch:
- amd64
- arm64
build_flag_templates:
- --pull
- --label=org.opencontainers.image.created={{ .Date }}
Expand Down

0 comments on commit 1fcec70

Please sign in to comment.