Skip to content

Commit

Permalink
Merge pull request #236 from reasonerjt/fix-push-action
Browse files Browse the repository at this point in the history
Fix the issue pushing image to GCR
  • Loading branch information
reasonerjt authored Dec 18, 2024
2 parents 438f8fe + bf26673 commit a4f8b9f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- 'main'
- 'release-**'
- 'jt-**'
tags:
- '*'

Expand All @@ -24,17 +25,14 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

# Fix issue of setup-gcloud
- run: |
sudo apt-get install python3
export CLOUDSDK_PYTHON="/usr/bin/python3"
- uses: google-github-actions/setup-gcloud@v0
- 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: 'Setup Cloud SDK'
uses: google-github-actions/setup-gcloud@v2
- name: 'Use gcloud CLI'
run: gcloud info

- name: Set up QEMU
id: qemu
Expand Down

0 comments on commit a4f8b9f

Please sign in to comment.