From 8c0126585ef38ba73326bb0f15973a56a33ca415 Mon Sep 17 00:00:00 2001 From: JulioSCX <158049359+JulioSCX@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:12:15 +0000 Subject: [PATCH] fix: fix release workflow (#259) **Proposed Changes** Fix failing release workflow I submit this contribution under the Apache-2.0 license. --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 273ebd8..daeea11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,6 +95,12 @@ jobs: go build -ldflags "-s -w -X github.com/checkmarx/2ms/cmd.Version=$VERSION" -a -installsuffix cgo -o dist/2ms.exe main.go zip -j dist/windows-amd64.zip dist/2ms.exe rm dist/2ms.exe + + - name: Set up QEMU + uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v2 + with: + image: tonistiigi/binfmt:latest + platforms: linux/amd64,linux/arm64 - name: Set up Docker Buildx uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb #v3.3.0