diff --git a/.github/workflows/ci-outpost.yml b/.github/workflows/ci-outpost.yml index 4159e76f2..a8b6004bc 100644 --- a/.github/workflows/ci-outpost.yml +++ b/.github/workflows/ci-outpost.yml @@ -135,4 +135,5 @@ jobs: set -x export GOOS=${{ matrix.goos }} export GOARCH=${{ matrix.goarch }} + export CGO_ENABLED=0 go build -tags=outpost_static_embed -v -o ./authentik-outpost-${{ matrix.type }}_${{ matrix.goos }}_${{ matrix.goarch }} ./cmd/${{ matrix.type }} diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index b54a4a956..28ba16a16 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -123,6 +123,7 @@ jobs: set -x export GOOS=${{ matrix.goos }} export GOARCH=${{ matrix.goarch }} + export CGO_ENABLED=0 go build -tags=outpost_static_embed -v -o ./authentik-outpost-${{ matrix.type }}_${{ matrix.goos }}_${{ matrix.goarch }} ./cmd/${{ matrix.type }} - name: Upload binaries to release uses: svenstaro/upload-release-action@v2