From 412ceb0454a30430b520ae20c7b512984fdce34d Mon Sep 17 00:00:00 2001 From: Marian Soltys <41568766+maso7@users.noreply.github.com> Date: Thu, 18 May 2023 17:03:10 +0200 Subject: [PATCH] Add support for darwin and arm64 --- .github/workflows/release.yml | 1 + .goreleaser.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3857148..b31645a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 984d953..13191bb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,8 +9,10 @@ builds: - CGO_ENABLED=0 goos: - linux + - darwin goarch: - amd64 + - arm64 main: ./main.go archives: - format: binary