Skip to content

Commit

Permalink
test7
Browse files Browse the repository at this point in the history
  • Loading branch information
magvgoogle committed Oct 1, 2024
1 parent 3e91659 commit 60b6f50
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ jobs:
# echo ${{ steps.auth.outputs.access_token }} | docker login -u oauth2accesstoken --password-stdin https://${{ env.REPOSITORY_REGION }}-docker.pkg.dev

- name: Connect to GKE
uses: google-github-actions/get-gke-credentials@v0
uses: 'google-github-actions/get-gke-credentials@v2'
with:
cluster_name: ${{ env.CLUSTER }}
location: ${{ env.CLUSTER_ZONE }}
location: ${{ env.CLUSTER_REGION }}
# The KUBECONFIG env var is automatically exported and picked up by kubectl.
- id: 'get-pods'
run: 'kubectl get pods -A'

#
# Build the .NET code
Expand Down Expand Up @@ -78,8 +81,8 @@ jobs:
#
# Deploy to GKE
#
- name: Deploy to GKE
#- name: Deploy to GKE
# run: kubectl apply -f applications/clouddemo/netcore/deployment.yaml
run: kubectl get pods -A
# run: kubectl get pods -A


0 comments on commit 60b6f50

Please sign in to comment.