Skip to content

Commit

Permalink
fix: yaml format
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelovetrb committed Feb 19, 2024
1 parent 015c779 commit 4b17c51
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy-to-gcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup gcloud CLI
- name: Setup gcloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
skip_install: false
version: ">= 363.0.0"


- name: Auth
uses: google-github-actions/auth@v2
- name: Auth
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}
access_token_lifetime: 1200s


- name: Configure Docker to use the gcloud command-line tool as a credential helper for the us region
run: gcloud auth configure-docker us-docker.pkg.dev --quiet

Expand Down

0 comments on commit 4b17c51

Please sign in to comment.