Skip to content

Commit 6a7457c

Browse files
committed
updated action versions due to node 20 deprecation
Signed-off-by: Glen Yu <glen.yu@gmail.com>
1 parent d96b7d6 commit 6a7457c

3 files changed

Lines changed: 33 additions & 26 deletions

File tree

.github/workflows/packer.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths-ignore: ['**/README.md','**/CHANGELOG.md', 'terraform/*', 'oracle-db/*', 'base-python3/*']
77

88
env:
9-
PRODUCT_VERSION: "1.11.2" # or: "latest"
9+
PRODUCT_VERSION: "1.14.3" # or: "latest"
1010
#HCP_ORGANIZATION_ID: '${{ secrets.HCP_ORGANIZATION_ID }}'
1111
#HCP_PROJECT_ID: '${{ secrets.HCP_PROJECT_ID }}'
1212
#HCP_CLIENT_ID: '${{ secrets.HCP_CLIENT_ID }}'
@@ -29,23 +29,23 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333

3434
- name: 'Authenticate to Google Cloud'
3535
id: 'auth'
36-
uses: 'google-github-actions/auth@v2'
36+
uses: 'google-github-actions/auth@v3'
3737
with:
3838
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
3939
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
4040
- name: 'Set up Google Cloud SDK'
41-
uses: 'google-github-actions/setup-gcloud@v2'
41+
uses: 'google-github-actions/setup-gcloud@v3'
4242
with:
4343
version: 'latest'
4444
project_id: '${{ vars.GCP_PROJECT_ID }}'
4545
#install_components: 'beta' # optional: install additional components
4646

4747
- name: Setup `packer`
48-
uses: hashicorp/setup-packer@main
48+
uses: hashicorp/setup-packer@v3
4949
id: setup
5050
with:
5151
version: ${{ env.PRODUCT_VERSION }}
@@ -73,23 +73,23 @@ jobs:
7373

7474
steps:
7575
- name: Checkout
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v5
7777

7878
- name: 'Authenticate to Google Cloud'
7979
id: 'auth'
80-
uses: 'google-github-actions/auth@v2'
80+
uses: 'google-github-actions/auth@v3'
8181
with:
8282
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
8383
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
8484
- name: 'Set up Google Cloud SDK'
85-
uses: 'google-github-actions/setup-gcloud@v2'
85+
uses: 'google-github-actions/setup-gcloud@v3'
8686
with:
8787
version: 'latest'
8888
project_id: '${{ vars.GCP_PROJECT_ID }}'
8989
#install_components: 'beta' # optional: install additional components
9090

9191
- name: Setup `packer`
92-
uses: hashicorp/setup-packer@main
92+
uses: hashicorp/setup-packer@v3
9393
id: setup
9494
with:
9595
version: ${{ env.PRODUCT_VERSION }}
@@ -117,23 +117,23 @@ jobs:
117117

118118
steps:
119119
- name: Checkout
120-
uses: actions/checkout@v4
120+
uses: actions/checkout@v5
121121

122122
- name: 'Authenticate to Google Cloud'
123123
id: 'auth'
124-
uses: 'google-github-actions/auth@v2'
124+
uses: 'google-github-actions/auth@v3'
125125
with:
126126
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
127127
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
128128
- name: 'Set up Google Cloud SDK'
129-
uses: 'google-github-actions/setup-gcloud@v2'
129+
uses: 'google-github-actions/setup-gcloud@v3'
130130
with:
131131
version: 'latest'
132132
project_id: '${{ vars.GCP_PROJECT_ID }}'
133133
#install_components: 'beta' # optional: install additional components
134134

135135
- name: Setup `packer`
136-
uses: hashicorp/setup-packer@main
136+
uses: hashicorp/setup-packer@v3
137137
id: setup
138138
with:
139139
version: ${{ env.PRODUCT_VERSION }}
@@ -162,23 +162,23 @@ jobs:
162162

163163
steps:
164164
- name: Checkout
165-
uses: actions/checkout@v4
165+
uses: actions/checkout@v5
166166

167167
- name: 'Authenticate to Google Cloud'
168168
id: 'auth'
169-
uses: 'google-github-actions/auth@v2'
169+
uses: 'google-github-actions/auth@v3'
170170
with:
171171
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
172172
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
173173
- name: 'Set up Google Cloud SDK'
174-
uses: 'google-github-actions/setup-gcloud@v2'
174+
uses: 'google-github-actions/setup-gcloud@v3'
175175
with:
176176
version: 'latest'
177177
project_id: '${{ vars.GCP_PROJECT_ID }}'
178178
#install_components: 'beta' # optional: install additional components
179179

180180
- name: Setup `packer`
181-
uses: hashicorp/setup-packer@main
181+
uses: hashicorp/setup-packer@v3
182182
id: setup
183183
with:
184184
version: ${{ env.PRODUCT_VERSION }}
@@ -207,23 +207,23 @@ jobs:
207207

208208
steps:
209209
- name: Checkout
210-
uses: actions/checkout@v4
210+
uses: actions/checkout@v5
211211

212212
- name: 'Authenticate to Google Cloud'
213213
id: 'auth'
214-
uses: 'google-github-actions/auth@v2'
214+
uses: 'google-github-actions/auth@v3'
215215
with:
216216
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
217217
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
218218
- name: 'Set up Google Cloud SDK'
219-
uses: 'google-github-actions/setup-gcloud@v2'
219+
uses: 'google-github-actions/setup-gcloud@v3'
220220
with:
221221
version: 'latest'
222222
project_id: '${{ vars.GCP_PROJECT_ID }}'
223223
#install_components: 'beta' # optional: install additional components
224224

225225
- name: Setup `packer`
226-
uses: hashicorp/setup-packer@main
226+
uses: hashicorp/setup-packer@v3
227227
id: setup
228228
with:
229229
version: ${{ env.PRODUCT_VERSION }}
@@ -252,23 +252,23 @@ jobs:
252252

253253
steps:
254254
- name: Checkout
255-
uses: actions/checkout@v4
255+
uses: actions/checkout@v5
256256

257257
- name: 'Authenticate to Google Cloud'
258258
id: 'auth'
259-
uses: 'google-github-actions/auth@v2'
259+
uses: 'google-github-actions/auth@v3'
260260
with:
261261
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}'
262262
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}'
263263
- name: 'Set up Google Cloud SDK'
264-
uses: 'google-github-actions/setup-gcloud@v2'
264+
uses: 'google-github-actions/setup-gcloud@v3'
265265
with:
266266
version: 'latest'
267267
project_id: '${{ vars.GCP_PROJECT_ID }}'
268268
#install_components: 'beta' # optional: install additional components
269269

270270
- name: Setup `packer`
271-
uses: hashicorp/setup-packer@main
271+
uses: hashicorp/setup-packer@v3
272272
id: setup
273273
with:
274274
version: ${{ env.PRODUCT_VERSION }}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [1.5.0] - 2026-??-??
8+
### Changed
9+
- Updated Packer version from `1.11.2` to `1.14.3`
10+
- Updated `hashicorp/setup-packer` from `main` to `v3` (Node.js 20 actions are deprecated)
11+
- Updated `actions/checkout` from `v4` to `v5` (Node.js 20 actions are deprecated)
12+
- Updated `google-github-actions/auth` from `v2` to `v3` (Node.js 20 actions are deprecated)
13+
- Updated `google-github-actions/setup-gcloud` from `v2` to `v3` (Node.js 20 actions are deprecated)
714

815
## [1.4.3] - 2026-04-25
916
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: 'Authenticate to Google Cloud'
5151
id: 'auth'
52-
uses: 'google-github-actions/auth@v2'
52+
uses: 'google-github-actions/auth@v3'
5353
with:
5454
credentials_json: '${{ secrets.GCP_CREDENTIALS_JSON }}'
5555

0 commit comments

Comments
 (0)