-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update versions in examples (#585)
- Loading branch information
Showing
6 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,20 +39,20 @@ jobs: | |
# Configure Workload Identity Federation and generate an access token. | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v0' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' | ||
service_account: '[email protected]' | ||
|
||
# Alternative option - authentication via credentials json | ||
# - id: 'auth' | ||
# uses: 'google-github-actions/auth@v0' | ||
# uses: 'google-github-actions/auth@v1' | ||
# with: | ||
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | ||
|
||
# Setup gcloud CLI | ||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v0 | ||
uses: google-github-actions/setup-gcloud@v1 | ||
|
||
- name: Authorize Docker push | ||
run: gcloud auth configure-docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,20 +36,20 @@ jobs: | |
# Configure Workload Identity Federation and generate an access token. | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v0' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' | ||
service_account: '[email protected]' | ||
|
||
# Alternative option - authentication via credentials json | ||
# - id: 'auth' | ||
# uses: 'google-github-actions/auth@v0' | ||
# uses: 'google-github-actions/auth@v1' | ||
# with: | ||
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | ||
|
||
# Setup gcloud CLI | ||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v0 | ||
uses: google-github-actions/setup-gcloud@v1 | ||
|
||
- name: Deploy to App Engine | ||
run: gcloud app deploy --quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,20 +41,20 @@ jobs: | |
# Configure Workload Identity Federation and generate an access token. | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v0' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' | ||
service_account: '[email protected]' | ||
|
||
# Alternative option - authentication via credentials json | ||
# - id: 'auth' | ||
# uses: 'google-github-actions/auth@v0' | ||
# uses: 'google-github-actions/auth@v1' | ||
# with: | ||
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | ||
|
||
# Setup gcloud CLI | ||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v0 | ||
uses: google-github-actions/setup-gcloud@v1 | ||
|
||
# Configure Docker to use the gcloud command-line tool as a credential | ||
# helper for authentication | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,20 +45,20 @@ jobs: | |
# Configure Workload Identity Federation and generate an access token. | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v0' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' | ||
service_account: '[email protected]' | ||
|
||
# Alternative option - authentication via credentials json | ||
# - id: 'auth' | ||
# uses: 'google-github-actions/auth@v0' | ||
# uses: 'google-github-actions/auth@v1' | ||
# with: | ||
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | ||
|
||
# Setup gcloud CLI | ||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v0 | ||
uses: google-github-actions/setup-gcloud@v1 | ||
|
||
# Configure Docker to use the gcloud command-line tool as a credential | ||
# helper for authentication (https://cloud.google.com/artifact-registry/docs/docker/authentication) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,20 +42,20 @@ jobs: | |
# Configure Workload Identity Federation and generate an access token. | ||
- id: 'auth' | ||
name: 'Authenticate to Google Cloud' | ||
uses: 'google-github-actions/auth@v0' | ||
uses: 'google-github-actions/auth@v1' | ||
with: | ||
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' | ||
service_account: '[email protected]' | ||
|
||
# Alternative option - authentication via credentials json | ||
# - id: 'auth' | ||
# uses: 'google-github-actions/auth@v0' | ||
# uses: 'google-github-actions/auth@v1' | ||
# with: | ||
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | ||
|
||
# Setup gcloud CLI | ||
- name: Set up Cloud SDK | ||
uses: google-github-actions/setup-gcloud@v0 | ||
uses: google-github-actions/setup-gcloud@v1 | ||
|
||
# Get the GKE credentials so we can deploy to the cluster | ||
- run: |- | ||
|