diff --git a/.github/workflows/docker-push.yml b/.github/workflows/docker-push.yml index f9203929d7..c6e7e90e29 100644 --- a/.github/workflows/docker-push.yml +++ b/.github/workflows/docker-push.yml @@ -16,7 +16,7 @@ jobs: - name: go-build if: github.event.ref_type == 'tag' - run: go build -o fake-gcs-server -mod readonly + run: go build -o fake-gcs-server env: CGO_ENABLED: 0 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d5a61da71..e968896447 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,7 +94,7 @@ jobs: go-version: 1.16 - name: go-build - run: go build -o fake-gcs-server -mod readonly + run: go build -o fake-gcs-server env: CGO_ENABLED: 0