@@ -36,13 +36,13 @@ jobs:
3636 steps :
3737 - uses : ' actions/checkout@v4'
3838
39- - uses : ' google-github-actions/auth@v1 '
39+ - uses : ' google-github-actions/auth@v2 '
4040 with :
4141 workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4242 service_account :
' [email protected] ' 4343
4444 - id : ' deploy'
45- uses : ' google-github-actions/deploy-cloudrun@v1 '
45+ uses : ' google-github-actions/deploy-cloudrun@v2 '
4646 with :
4747 service : ' hello-cloud-run'
4848 image : ' gcr.io/cloudrun/hello'
@@ -302,12 +302,12 @@ jobs:
302302
303303 # ...
304304
305- - uses: 'google-github-actions/auth@v1 '
305+ - uses: 'google-github-actions/auth@v2 '
306306 with:
307307 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
308308 service_account: '[email protected] ' 309309
310- - uses: 'google-github-actions/deploy-cloudrun@v1 '
310+ - uses: 'google-github-actions/deploy-cloudrun@v2 '
311311 with:
312312 image: 'gcr.io/cloudrun/hello'
313313 service: 'hello-cloud-run'
@@ -326,7 +326,7 @@ jobs:
326326 steps:
327327 # ...
328328
329- - uses: 'google-github-actions/deploy-cloudrun@v1 '
329+ - uses: 'google-github-actions/deploy-cloudrun@v2 '
330330 with:
331331 image: 'gcr.io/cloudrun/hello'
332332 service: 'hello-cloud-run'
@@ -341,27 +341,6 @@ Credentials.
341341
342342* [Build and deploy a container](https://github.com/google-github-actions/example-workflows/blob/main/workflows/deploy-cloudrun/cloudrun-docker.yml)
343343
344- # # Versioning
345-
346- We recommend pinning to the latest available major version :
347-
348- ` ` ` yaml
349- - uses: 'google-github-actions/deploy-cloudrun@v1'
350- ` ` `
351-
352- While this action attempts to follow semantic versioning, but we're ultimately
353- human and sometimes make mistakes. To prevent accidental breaking changes, you
354- can also pin to a specific version :
355-
356- ` ` ` yaml
357- - uses: 'google-github-actions/[email protected] ' 358- ` ` `
359-
360- However, you will not get automatic security updates or new features without
361- explicitly updating your version number. Note that we only publish `MAJOR` and
362- ` MAJOR.MINOR.PATCH` versions. There is **not** a floating alias for
363- ` MAJOR.MINOR` .
364-
365344
366345[cloud-run] : https://cloud.google.com/run
367346[sa] : https://cloud.google.com/iam/docs/creating-managing-service-accounts
0 commit comments