diff --git a/.github/workflows/gcf-snapshot.yml b/.github/workflows/gcf-snapshot.yml index 21f4ecde68..dc11cbff91 100644 --- a/.github/workflows/gcf-snapshot.yml +++ b/.github/workflows/gcf-snapshot.yml @@ -23,7 +23,7 @@ jobs: GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} PREDICTIVE_TEST_SELECTION: "${{ github.event_name == 'pull_request' && 'true' || 'false' }}" - name: Authenticate into Google Cloud Platform - uses: google-github-actions/setup-gcloud@v0.2.1 + uses: google-github-actions/setup-gcloud@v2.1.4 with: service_account_email: ${{ secrets.GCLOUD_EMAIL }} service_account_key: ${{ secrets.GCLOUD_AUTH }} diff --git a/.github/workflows/gcr-snapshot.yml b/.github/workflows/gcr-snapshot.yml index d66f0c84ed..a5e38f7b49 100644 --- a/.github/workflows/gcr-snapshot.yml +++ b/.github/workflows/gcr-snapshot.yml @@ -26,7 +26,7 @@ jobs: run: | ./gradlew starter-web-netty:dockerBuild -PdockerImageName="gcr.io/${{ secrets.GCLOUD_PROJECT }}/${{ secrets.GCLOUD_SNAPSHOT_APP_NAME }}:snapshot" - name: Authenticate into Google Cloud Platform - uses: google-github-actions/setup-gcloud@v0.2.1 + uses: google-github-actions/setup-gcloud@v2.1.4 with: project_id: ${{ secrets.GCLOUD_PROJECT }} service_account_email: ${{ secrets.GCLOUD_EMAIL }} diff --git a/.github/workflows/release-manually.yml b/.github/workflows/release-manually.yml index b7cfc4f455..f6c8b05aa9 100644 --- a/.github/workflows/release-manually.yml +++ b/.github/workflows/release-manually.yml @@ -45,7 +45,7 @@ jobs: run: | ./gradlew starter-web-netty:dockerBuild -PdockerImageName="gcr.io/${{ secrets.GCLOUD_PROJECT }}/micronaut-starter:latest" - name: Authenticate into Google Cloud Platform - uses: google-github-actions/setup-gcloud@v0.2.1 + uses: google-github-actions/setup-gcloud@v2.1.4 with: service_account_email: ${{ secrets.GCLOUD_EMAIL }} service_account_key: ${{ secrets.GCLOUD_AUTH }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8da4531053..38351029f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -349,7 +349,7 @@ jobs: run: | ./gradlew starter-web-netty:dockerBuild -PdockerImageName="gcr.io/${{ secrets.GCLOUD_PROJECT }}/micronaut-starter:${{ steps.release_version.outputs.release_version }}" - name: Authenticate into Google Cloud Platform - uses: google-github-actions/setup-gcloud@v0.2.1 + uses: google-github-actions/setup-gcloud@v2.1.4 with: service_account_email: ${{ secrets.GCLOUD_EMAIL }} service_account_key: ${{ secrets.GCLOUD_AUTH }}