Skip to content

Commit

Permalink
Use node:18 in examples of actions with containers (#28442)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Clark <[email protected]>
  • Loading branch information
tvalenta and jc-clark authored Sep 25, 2023
1 parent cdd3a0e commit 081b38f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The `prepare_job` command is called when a job is started. {% data variables.pro
"state": {},
"args": {
"jobContainer": {
"image": "node:14.16",
"image": "node:18"
"workingDirectory": "/__w/octocat-test2/octocat-test2",
"createOptions": "--cpus 1",
"environmentVariables": {
Expand Down Expand Up @@ -288,7 +288,7 @@ If you're using a Docker image, you can specify the image name in the `"image":`
}
},
"args": {
"image": "node:14.16",
"image": "node:18",
"dockerfile": null,
"entryPointArgs": ["-f", "/dev/null"],
"entryPoint": "tail",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: node:14.16
image: node:18
env:
NODE_ENV: development
ports:
Expand All @@ -38,5 +38,5 @@ When you only specify a container image, you can omit the `image` keyword.
jobs:
container-test-job:
runs-on: ubuntu-latest
container: node:14.16
container: node:18
```

0 comments on commit 081b38f

Please sign in to comment.