Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ on:
branches:
- main

permissions: {}

jobs:
check-and-update:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-scan-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:
branches: [ '**' ]
workflow_dispatch:

permissions: {}

jobs:

get-matrix-values:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
image: ${{ steps.set-var.outputs.image }}
steps:
Expand All @@ -22,6 +26,8 @@ jobs:

build-images:
runs-on: ubuntu-latest
permissions:
contents: read
needs: get-matrix-values
strategy:
fail-fast: false
Expand Down Expand Up @@ -188,6 +194,8 @@ jobs:

create-release:
runs-on: ubuntu-latest
permissions:
contents: write
needs: build-images
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nightly-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
schedule:
- cron: '0 1 * * *'

permissions: {}

jobs:
get-matrix-values:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
image: ${{ steps.set-var.outputs.image }}
steps:
Expand All @@ -19,6 +23,8 @@ jobs:

anchore-scan:
runs-on: ubuntu-latest
permissions:
contents: read
needs: get-matrix-values
strategy:
matrix:
Expand Down
15 changes: 9 additions & 6 deletions .grype.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
ignore:
- vulnerability: GHSA-3v7f-55p6-f55p
reason: "Node: 22,24: picomatch patched but not yet available in Node.js base images"
reason: "Node: 22,24: npm picomatch"
- vulnerability: CVE-2025-60876
reason: "Node: 22,24: BusyBox wget HTTP header injection, no fix available"
reason: "Node: 22,24: BusyBox"
- vulnerability: GHSA-c2c7-rcm5-vvqj
reason: "Node: 22,24: picomatch patched but not yet available in Node.js base images"
reason: "Node: 22,24: npm picomatch"
- vulnerability: GHSA-f886-m6hf-6m8v
reason: "Node: 22,24: brace-expansion patched but not yet available in Node.js base images"
reason: "Node: 22,24: npm brace-expansion"
- vulnerability: GHSA-v2v4-37r5-5v8g
reason: "Node: 22,24: ip-address patched but not yet available in Node.js base images"
reason: "Node: 22,24: npm ip-address"
- vulnerability: GHSA-jxxr-4gwj-5jf2
reason: "Node: 24: brace-expansion patched but not yet available in Node.js base images"
reason: "Node: 24: npm brace-expansion"
- vulnerability: GHSA-vmf3-w455-68vh
reason: "Node: 22,24: npm tar"

11 changes: 7 additions & 4 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Node: 22,24: brace-expansion patched but not yet available in Node.js base images
# Node: 22,24: npm brace-expansion
CVE-2026-33750

# Node: 22,24: picomatch patched but not yet available in Node.js base images
# Node: 22,24: npm picomatch
CVE-2026-33671
CVE-2026-33672

# Node: 22,24: ip-address patched but not yet available in Node.js base images
# Node: 22,24: npm ip-address
CVE-2026-42338

# Node: 24: brace-expansion patched but not yet available in Node.js base images
# Node: 24: npm brace-expansion
CVE-2026-45149

# Node: 22,24: npm tar
CVE-2026-53655
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set default values for build arguments
ARG DEFRA_VERSION=3.0.10
ARG BASE_VERSION=24.16.0-alpine3.23
ARG DEFRA_VERSION=3.1.0
ARG BASE_VERSION=24.17.0-alpine3.24

FROM node:$BASE_VERSION AS production

Expand Down
2 changes: 1 addition & 1 deletion JOB.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DEFRA_VERSION=3.0.10
DEFRA_VERSION=3.1.0
IMAGE_NAME=node
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ The following table lists the versions of node available, and the parent Node.js

| Node version | Parent image |
| ------------- | ----------------- |
| 20.20.2 | 20.20.2-alpine3.23 |
| 22.22.3 | 22.22.3-alpine3.23 |
| 24.16.0 | 24.16.0-alpine3.23 |
| 22.23.0 | 22.23.0-alpine3.24 |
| 24.17.0 | 24.17.0-alpine3.24 |

Two parent images are created for each version:

Expand Down
4 changes: 2 additions & 2 deletions image-matrix.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
{"nodeVersion": "22.22.3", "alpineVersion": "3.23", "tags": ["latest-22"]},
{"nodeVersion": "24.16.0", "alpineVersion": "3.23", "tags": ["latest-24", "latest"]}
{"nodeVersion": "22.23.0", "alpineVersion": "3.24", "tags": ["latest-22"]},
{"nodeVersion": "24.17.0", "alpineVersion": "3.24", "tags": ["latest-24", "latest"]}
]
Loading