Skip to content

Commit

Permalink
try try try
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlyJazz committed Nov 18, 2023
1 parent b282fa2 commit a656776
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/auth-microservice-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,18 @@ jobs:
- name: 'Use gcloud CLI'
run: 'gcloud info'

- name: 'Get GKE credentials'
run: |
gcloud container clusters get-credentials ${{ env.GKE_CLUSTER }} --zone ${{ env.GKE_ZONE }}
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
- name: setup-gke-gcloud-auth-plugin
uses: simenandre/setup-gke-gcloud-auth-plugin@v1.1.2

- uses: google-github-actions/get-gke-credentials@v1
with:
cluster_name: ${{ env.GKE_CLUSTER }}
location: ${{ env.GKE_ZONE }}

# - name: 'Get GKE credentials'
# run: |
# gcloud container clusters get-credentials ${{ env.GKE_CLUSTER }} --zone ${{ env.GKE_ZONE }}
# export USE_GKE_GCLOUD_AUTH_PLUGIN=True

# - name: Log in to Docker Hub
# uses: docker/login-action@v3
Expand Down
2 changes: 1 addition & 1 deletion auth-microservice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Let imagine `ec4942c811fe` is the container ID (`docker ps` will show you what i

## Testing Deploy to K8:

- 1, 2, 3, 4, 5, 6, 7, 8, 9
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

0 comments on commit a656776

Please sign in to comment.