Skip to content

Commit 9d3f41f

Browse files
authored
v6.0.0 (#128)
Major updates * Updating base image to Alpine + S6 7.0.0 - bf env set must now run as root * Removing the latest and bare version tags - choose a Node.js version instead Minor updates * Re-adding linux/arm/v7 builds * Fixing the Node.js 24 build by using nodejs 24.22.1-r1 * Updating README tag examples and Node.js versions Build updates * Moving to the shared bfren/docker build workflow, replacing dev.yml and publish.yml * Cancelling older builds when a newer push starts * Pinning the Docker Hub README action to a commit * Passing the branch name to auto-pr as a variable Development updates * Keeping local work in pull.sh by fast-forwarding instead of resetting Full changelog: https://github.com/bfren/docker-node/blob/v6.0.0/CHANGELOG.md#600---2026-11-05
1 parent a325493 commit 9d3f41f

19 files changed

Lines changed: 107 additions & 280 deletions

‎.github/workflows/auto-pr.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
uses: actions/checkout@v7
1414
-
1515
name: Create Pull Request
16-
run: gh pr create -B main --title "${{ github.ref_name }}" --body "Merging branch to create ${{ github.ref_name }}."
16+
# pass the branch name as a variable - ${{ }} in run is pasted into the script, so a branch name could run code
17+
run: gh pr create -B main --title "${BRANCH}" --body "Merging branch to create ${BRANCH}."
1718
env:
19+
BRANCH: ${{ github.ref_name }}
1820
GITHUB_TOKEN: ${{ secrets.PAT }}

‎.github/workflows/build.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
tags-ignore: ['**']
7+
release:
8+
types: [published]
9+
workflow_dispatch:
10+
11+
# one run per branch at a time - a newer push cancels the older run, so it cannot finish last and overwrite the
12+
# newer images
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
uses: bfren/docker/.github/workflows/build.yml@main
20+
with:
21+
image: node
22+
folders: |
23+
20
24+
21
25+
22
26+
23
27+
24
28+
26
29+
platforms: |
30+
linux/amd64
31+
linux/arm/v7
32+
linux/arm64
33+
tags: |
34+
node${FOLDER}
35+
node${FOLDER}-${VERSION_MAJOR}
36+
node${FOLDER}-${VERSION_MINOR}
37+
node${FOLDER}-${VERSION}
38+
node${NODE_MINOR}
39+
node${NODE_MINOR}-${VERSION}
40+
secrets:
41+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
42+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
43+
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}

‎.github/workflows/dev.yml‎

Lines changed: 0 additions & 131 deletions
This file was deleted.

‎.github/workflows/publish.yml‎

Lines changed: 0 additions & 113 deletions
This file was deleted.

‎.github/workflows/update-readme.yml‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@ jobs:
1616
-
1717
name: Checkout code
1818
uses: actions/checkout@v7
19-
-
20-
name: Login to DockerHub
21-
uses: docker/login-action@v4
22-
with:
23-
username: ${{ secrets.DOCKERHUB_USERNAME }}
24-
password: ${{ secrets.DOCKERHUB_TOKEN }}
2519
-
2620
name: Update repo description with README.md
27-
uses: peter-evans/dockerhub-description@v5
21+
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5
2822
with:
2923
username: ${{ secrets.DOCKERHUB_USERNAME }}
3024
password: ${{ secrets.DOCKERHUB_TOKEN }}

‎20/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.3
1+
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"
44

‎21/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.3
1+
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"
44

‎22/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.3
1+
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"
44

‎23/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.3
1+
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"
44

‎24/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3
1+
FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"
44

0 commit comments

Comments
 (0)