Skip to content

Commit

Permalink
updated flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuldeep-knoldus committed Jun 24, 2024
1 parent 2229982 commit 46c6593
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1
- name: Setup Google Cloud SDK
uses: google-github-actions/[email protected]
with:
credentials_json: ${{ secrets.SERVICE_ACCOUNT_KEY }}
project_id: gen-lang-client-0999974873
service_account_key: ${{ secrets.SERVICE_ACCOUNT_KEY }}

- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1
- name: Authenticate to Google Cloud
id: auth
uses: google-github-actions/[email protected]
with:
project_id: ${{ secrets.PROJECT_ID }}
service_account_key: ${{ secrets.SERVICE_ACCOUNT_KEY }}
credentials_json: ${{ secrets.SERVICE_ACCOUNT_KEY }}

- name: Configure Docker for Google Container Registry
run: gcloud auth configure-docker
Expand Down

0 comments on commit 46c6593

Please sign in to comment.