From c6be2bc40fea1be1256ff2181b77d05ae1bf4729 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Sat, 25 Oct 2025 02:12:30 +0800 Subject: [PATCH] feat: enable freebsd cgo --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb80f65..9b55aeb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,7 +127,11 @@ jobs: CGO: true - Target: windows/arm64 - Target: freebsd/amd64 + CGO: true - Target: freebsd/arm64 + CGO: true + - Target: freebsd/riscv64 + CGO: true - Target: openbsd/amd64 - Target: openbsd/arm64 steps: @@ -233,7 +237,6 @@ jobs: uses: docker/build-push-action@v6 with: context: . - build-args: VERSION=${{ needs.release-web.outputs.tag_name }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/${{ matrix.arch }} outputs: type=image,"name=${{ env.GHCR_REPO }}${{ env.DOCKERHUB_REPO && format(',{0}', env.DOCKERHUB_REPO) }}${{ env.ALIYUN_REPO && format(',{0}', env.ALIYUN_REPO) }}",name-canonical=true,push-by-digest=${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }},push=${{ github.event_name != 'pull_request' && github.actor != 'dependabot[bot]' }}