diff --git a/example-workflows/cloud-build/.github/workflows/cloud-build.yml b/example-workflows/cloud-build/.github/workflows/cloud-build.yml index 6d9778acd..e0141b9c5 100644 --- a/example-workflows/cloud-build/.github/workflows/cloud-build.yml +++ b/example-workflows/cloud-build/.github/workflows/cloud-build.yml @@ -40,20 +40,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: '${{ secrets.RUN_SA_EMAIL }}' # Alternative option - authentication via credentials json # - id: 'auth' - # uses: 'google-github-actions/auth@v0' + # uses: 'google-github-actions/auth@v1' # with: # credentials_json: '${{ secrets.RUN_SA_KEY }}' # Setup gcloud CLI - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 # Build and push image to Google Container Registry - name: Build diff --git a/example-workflows/cloud-run/cloud-run.yml b/example-workflows/cloud-run/cloud-run.yml index 6e5076ca4..9fb893def 100644 --- a/example-workflows/cloud-run/cloud-run.yml +++ b/example-workflows/cloud-run/cloud-run.yml @@ -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: 'my-service-account@my-project.iam.gserviceaccount.com' # 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 diff --git a/example-workflows/gae/app-engine.yml b/example-workflows/gae/app-engine.yml index d3f12123d..99e36934c 100644 --- a/example-workflows/gae/app-engine.yml +++ b/example-workflows/gae/app-engine.yml @@ -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: 'my-service-account@my-project.iam.gserviceaccount.com' # 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 diff --git a/example-workflows/gce/.github/workflows/gce.yaml b/example-workflows/gce/.github/workflows/gce.yaml index 05df4fafc..a4885b228 100644 --- a/example-workflows/gce/.github/workflows/gce.yaml +++ b/example-workflows/gce/.github/workflows/gce.yaml @@ -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: 'my-service-account@my-project.iam.gserviceaccount.com' # 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 diff --git a/example-workflows/gke-kustomize/.github/workflows/gke-kustomize.yml b/example-workflows/gke-kustomize/.github/workflows/gke-kustomize.yml index 2c60c539a..06ad6d8cf 100644 --- a/example-workflows/gke-kustomize/.github/workflows/gke-kustomize.yml +++ b/example-workflows/gke-kustomize/.github/workflows/gke-kustomize.yml @@ -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: 'my-service-account@my-project.iam.gserviceaccount.com' # 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) diff --git a/example-workflows/gke/.github/workflows/gke.yml b/example-workflows/gke/.github/workflows/gke.yml index 67ac81cec..7b94859f1 100644 --- a/example-workflows/gke/.github/workflows/gke.yml +++ b/example-workflows/gke/.github/workflows/gke.yml @@ -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: 'my-service-account@my-project.iam.gserviceaccount.com' # 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: |-