Skip to content

Commit

Permalink
chore: Update GKE credentials setup and location in gc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
carlohcs committed Aug 12, 2024
1 parent de5f3c5 commit 12bd17c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,17 @@ jobs:
# run: |-
# echo ${{steps.auth.outputs.access_token}} | docker login -u oauth2accesstoken --password-stdin https://$GAR_LOCATION-docker.pkg.dev

- id: 'Data'
run: echo GAR_LOCATION=$GAR_LOCATION && echo PROJECT_ID=$PROJECT_ID && echo GKE_CLUSTER=$GKE_CLUSTER && echo GKE_ZONE=$GKE_ZONE
- name: 'Data'
run: echo GAR_LOCATION=$GAR_LOCATION && echo GKE_PROJECT=$GKE_PROJECT && echo GKE_CLUSTER=$GKE_CLUSTER && echo GKE_ZONE=$GKE_ZONE

# Get the GKE credentials so we can deploy to the cluster
- name: Set up GKE credentials
uses: google-github-actions/get-gke-credentials@v0
with:
cluster_name: ${{ env.GKE_CLUSTER }}
location: ${{ env.GKE_GAR_LOCATION }}
project_id: ${{ env.GKE_PROJECT }}
cluster_name: "projects/thermal-micron-427901-e1/locations/us-east1/clusters/my-cluster"
# cluster_name: ${{ env.GKE_CLUSTER }}
# location: ${{ env.GKE_GAR_LOCATION }}
# project_id: ${{ env.GKE_PROJECT }}

# Build the Docker image
- name: Build
Expand Down

0 comments on commit 12bd17c

Please sign in to comment.