@@ -36,13 +36,13 @@ jobs:
36
36
steps :
37
37
- uses : ' actions/checkout@v4'
38
38
39
- - uses : ' google-github-actions/auth@v1 '
39
+ - uses : ' google-github-actions/auth@v2 '
40
40
with :
41
41
workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
42
42
service_account :
' [email protected] '
43
43
44
44
- id : ' deploy'
45
- uses : ' google-github-actions/deploy-cloudrun@v1 '
45
+ uses : ' google-github-actions/deploy-cloudrun@v2 '
46
46
with :
47
47
service : ' hello-cloud-run'
48
48
image : ' gcr.io/cloudrun/hello'
@@ -302,12 +302,12 @@ jobs:
302
302
303
303
# ...
304
304
305
- - uses: 'google-github-actions/auth@v1 '
305
+ - uses: 'google-github-actions/auth@v2 '
306
306
with:
307
307
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
308
308
service_account: '[email protected] '
309
309
310
- - uses: 'google-github-actions/deploy-cloudrun@v1 '
310
+ - uses: 'google-github-actions/deploy-cloudrun@v2 '
311
311
with:
312
312
image: 'gcr.io/cloudrun/hello'
313
313
service: 'hello-cloud-run'
@@ -326,7 +326,7 @@ jobs:
326
326
steps:
327
327
# ...
328
328
329
- - uses: 'google-github-actions/deploy-cloudrun@v1 '
329
+ - uses: 'google-github-actions/deploy-cloudrun@v2 '
330
330
with:
331
331
image: 'gcr.io/cloudrun/hello'
332
332
service: 'hello-cloud-run'
@@ -341,27 +341,6 @@ Credentials.
341
341
342
342
* [Build and deploy a container](https://github.com/google-github-actions/example-workflows/blob/main/workflows/deploy-cloudrun/cloudrun-docker.yml)
343
343
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
-
365
344
366
345
[cloud-run] : https://cloud.google.com/run
367
346
[sa] : https://cloud.google.com/iam/docs/creating-managing-service-accounts
0 commit comments