Skip to content

Commit

Permalink
use qemu and buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Apr 10, 2024
1 parent 846e2b4 commit be9de77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"

- name: Set up QEMU dependency
uses: docker/setup-qemu-action@v3

- name: Run GoReleaser
id: releaser
uses: goreleaser/goreleaser-action@v4
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ archives:
dockers:
- id: arm64
goarch: arm64
use: buildx
image_templates:
# Docker tags can't have "+" in them, so we replace it with "-"
- 'ghcr.io/databricks/cli:{{replace .Version "+" "-"}}-arm64'
Expand All @@ -62,6 +63,7 @@ dockers:

- id: amd64
goarch: amd64
use: buildx
image_templates:
# Docker tags can't have "+" in them, so we replace it with "-"
- 'ghcr.io/databricks/cli:{{replace .Version "+" "-"}}-amd64'
Expand Down

0 comments on commit be9de77

Please sign in to comment.