mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 19:54:00 +00:00
Merge pull request #7654 from blackpiglet/fix_push_action
Modify the GCP auth method because of the action version update.
This commit is contained in:
16
.github/workflows/push.yml
vendored
16
.github/workflows/push.yml
vendored
@@ -28,12 +28,18 @@ jobs:
|
||||
sudo apt-get install python2.7
|
||||
export CLOUDSDK_PYTHON="/usr/bin/python2"
|
||||
|
||||
- uses: google-github-actions/setup-gcloud@v2
|
||||
- id: 'auth'
|
||||
uses: google-github-actions/auth@v2
|
||||
with:
|
||||
version: '285.0.0'
|
||||
service_account_key: ${{ secrets.GCS_SA_KEY }}
|
||||
export_default_credentials: true
|
||||
- run: gcloud info
|
||||
credentials_json: '${{ secrets.GCS_SA_KEY }}'
|
||||
|
||||
- name: 'set up GCloud SDK'
|
||||
uses: google-github-actions/setup-gcloud@v2
|
||||
|
||||
- name: 'use gcloud CLI'
|
||||
run: |
|
||||
gcloud auth login
|
||||
gcloud info
|
||||
|
||||
- name: Set up QEMU
|
||||
id: qemu
|
||||
|
||||
Reference in New Issue
Block a user