Skip to content

Commit f7abe65

Browse files
committed
2 parents fc4d9bd + be4a15a commit f7abe65

68 files changed

Lines changed: 366 additions & 1258 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ contact_links:
66
- name: Found a problem with Node.js beyond the API reference documentation?
77
url: https://github.com/nodejs/nodejs.org/issues/new/choose
88
about: Please file an issue in the Node.js website repository.
9-
- name: Want to report security issues or vulnerabilites?
10-
url: https://github.com/nodejs/docker-node/security/policy
11-
about: Please go through our policy for reporting CVEs and security issues.
129
- name: Need help with common questions related to using Node.js with Docker?
1310
url: https://stackoverflow.com/questions/tagged/node.js%2bdocker%2bdockerfile
1411
about: Please visit Stack Overflow to explore related questions and answers.

.github/workflows/automatic-updates.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Automatically update Docker image versions
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: "*/15 * * * *"
67

@@ -12,10 +13,10 @@ jobs:
1213
pull-requests: write
1314

1415
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1617

1718
- name: Run automation script
18-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
19+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1920
id: updt
2021
with:
2122
result-encoding: string
@@ -25,7 +26,7 @@ jobs:
2526
2627
- name: Create update PR
2728
id: cpr
28-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
29+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
2930
with:
3031
token: ${{ secrets.GH_API_TOKEN }}
3132
author: "Node.js GitHub Bot <nodejs-github-bot@users.noreply.github.com>"

.github/workflows/build-test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626

2727
- name: Calculate file differences
2828
id: diff
29-
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5
29+
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6
3030
with:
3131
json: true
3232
escape_json: false
3333

3434
- name: Generate testing matrix
35-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
35+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3636
id: generator
3737
with:
3838
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -59,17 +59,17 @@ jobs:
5959

6060
steps:
6161
- name: Get short node version
62-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
62+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
6363
id: short-version
6464
with:
6565
result-encoding: string
6666
script: return "${{ matrix.version }}".split('.')[0]
6767

6868
- name: Checkout
69-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
69+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
7070

7171
- name: Build image
72-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
72+
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
7373
with:
7474
push: false
7575
load: true
@@ -94,4 +94,5 @@ jobs:
9494
run: docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} npm --version
9595

9696
- name: Test for yarn
97+
if: startsWith(matrix.version, '22') || startsWith(matrix.version, '24') || startsWith(matrix.version, '25')
9798
run: docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} yarn --version

.github/workflows/doctoc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
name: Doc TOC Check
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1919
with:
2020
node-version: 'lts/*'
2121
- name: Install doctoc

.github/workflows/eclint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
eclint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
12+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
13+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1414
with:
1515
node-version: 'lts/*'
1616
- run: npm i -g eclint

.github/workflows/markdown-link-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
markdown-link-check:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
16+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
17+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1818
with:
1919
node-version: 'lts/*'
2020
- name: Install markdown-link-check
21-
run: npm i -g markdown-link-check@3.14.1
21+
run: npm i -g markdown-link-check@3.14.2
2222
- name: Run markdown-link-check on MD files
2323
run: find . -name "*.md" | xargs -n 1 markdown-link-check -c markdown_link_check_config.json -q

.github/workflows/missing-checksum.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717

1818
- name: Count number of Alpine Dockersfiles without CHECKSUM
1919
run: |

.github/workflows/official-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121

2222
steps:
2323
- name: Checkout the docker-node repo
24-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
path: docker-node
2727
ref: ${{ github.base_ref }}
2828
fetch-depth: 50
2929

3030
- name: Checkout the official-images repo
31-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3232
with:
3333
path: official-images
3434
repository: docker-library/official-images
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Create PR in official-images
4242
id: create-pr
43-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
43+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
4444
with:
4545
token: ${{ secrets.GH_API_TOKEN }}
4646
push-to-fork: nodejs/official-images
@@ -50,7 +50,7 @@ jobs:
5050
title: "Node: ${{ github.event.pull_request.title }}"
5151
body: |
5252
Pull Request: ${{ github.event.pull_request.html_url }}
53-
@LaurentGoderre @PeterDaveHello @SimenB @Starefossen @nschonni @ttshivers
53+
@PeterDaveHello @SimenB @nschonni @rafaelgss @mcollina
5454
5555
- name: PR details
5656
run: |

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
35+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3636
with:
3737
persist-credentials: false
3838

@@ -59,7 +59,7 @@ jobs:
5959
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6060
# format to the repository Actions tab.
6161
- name: "Upload artifact"
62-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
62+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6363
with:
6464
name: SARIF file
6565
path: results.sarif
@@ -68,6 +68,6 @@ jobs:
6868
# Upload the results to GitHub's code scanning dashboard (optional).
6969
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
71+
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
7272
with:
7373
sarif_file: results.sarif

.github/workflows/shfmt.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- "**/*.sh"
7+
- ".github/workflows/shfmt.yml"
78

89
permissions:
910
contents: read
@@ -12,12 +13,13 @@ jobs:
1213
shfmt:
1314
runs-on: ubuntu-latest
1415
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1617
- run: docker run -v "$(pwd)":/sh -w /sh peterdavehello/shfmt:2.6.3 shfmt -sr -i 2 -l -w -ci .
1718
- run: git diff --color --exit-code
1819

1920
shellcheck:
2021
runs-on: ubuntu-latest
2122
steps:
22-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23-
- run: shellcheck *.sh
23+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24+
- name: Run ShellCheck
25+
uses: bewuethr/shellcheck-action@80bac2daa9fcf95d648200a793d00060857e6dc4 # v2.3.0

0 commit comments

Comments
 (0)