Skip to content

Commit

Permalink
Merge pull request #29 from tidbcloud/zjj2wry-patch-2
Browse files Browse the repository at this point in the history
Disable cgo
  • Loading branch information
zjj2wry authored Feb 15, 2022
2 parents cd3cdb4 + 003a08d commit 6c04fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Build the binary
working-directory: ./
run: GOOS=linux go build -o docker/crossplane-gcp-provider cmd/provider/main.go
run: GOOS=linux CGO_ENABLED=0 go build -o docker/crossplane-gcp-provider cmd/provider/main.go

- id: auth
uses: google-github-actions/auth@v0.4.0
Expand Down Expand Up @@ -93,4 +93,4 @@ jobs:
if: github.ref != 'refs/heads/pingcap/provider-gcp'
run: |
docker tag ${{ env.GCR_REG }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} ${{ env.GCR_REG }}/${{ env.IMAGE_NAME }}:${GITHUB_REF##*/}
docker push ${{ env.GCR_REG }}/${{ env.IMAGE_NAME }}:${GITHUB_REF##*/}
docker push ${{ env.GCR_REG }}/${{ env.IMAGE_NAME }}:${GITHUB_REF##*/}

0 comments on commit 6c04fb3

Please sign in to comment.