diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 4bdded06c..a5cd63456 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -9,22 +9,21 @@ on: - release-* tags: - v* + jobs: BUILD_PACKAGE: env: BUILD_PACKAGE: true runs-on: - #- self-hosted - - ubuntu-latest + - ubuntu-20.04 steps: - uses: actions/checkout@v2 + - uses: 'google-github-actions/auth@v0' + with: + credentials_json: '${{ secrets.GCP_CREDENTIALS }}' - uses: google-github-actions/setup-gcloud@v0 with: version: '285.0.0' - project_id: ${{ secrets.GCP_PROJECT_ID }} - service_account_email: ${{ secrets.GCP_SA_EMAIL }} - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true - run: gcloud info - name: Set up Go 1.17 uses: actions/setup-go@v1