From e7cc40489e511ef742691fd3c7f1b6fff174455c Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:24 +0000 Subject: [PATCH 01/15] Bumping version to v6.0.0 Co-Authored-By: Claude Opus 5.5 --- VERSION | 2 +- VERSION_MAJOR | 2 +- VERSION_MINOR | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 28cbf7c..f4965a3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.0 \ No newline at end of file +6.0.0 \ No newline at end of file diff --git a/VERSION_MAJOR b/VERSION_MAJOR index 7813681..62f9457 100644 --- a/VERSION_MAJOR +++ b/VERSION_MAJOR @@ -1 +1 @@ -5 \ No newline at end of file +6 \ No newline at end of file diff --git a/VERSION_MINOR b/VERSION_MINOR index 6e63660..5049538 100644 --- a/VERSION_MINOR +++ b/VERSION_MINOR @@ -1 +1 @@ -5.0 \ No newline at end of file +6.0 \ No newline at end of file From 6744e5778292729e35388216fd42a01b2d25fb0b Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:24 +0000 Subject: [PATCH 02/15] Using new shared build process Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 40 +++++++++++ .github/workflows/dev.yml | 131 ---------------------------------- .github/workflows/publish.yml | 113 ----------------------------- README.md | 2 +- 4 files changed, 41 insertions(+), 245 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/dev.yml delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..70aa0b7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,40 @@ +name: build + +on: + push: + branches: ['**'] + tags-ignore: ['**'] + release: + types: [published] + workflow_dispatch: + +jobs: + build: + uses: bfren/docker/.github/workflows/build.yml@shared-build + with: + image: node + folders: | + 20 + 21 + 22 + 23 + 24 + 26 + platforms: | + linux/amd64 + linux/arm64 + tags: | + node${FOLDER} + node${FOLDER}-${VERSION_MAJOR} + node${FOLDER}-${VERSION_MINOR} + node${FOLDER}-${VERSION} + node${NODE_MINOR} + node${NODE_MINOR}-${VERSION} + default-folder: "24" + default-tags: | + latest + ${VERSION} + secrets: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml deleted file mode 100644 index 6019e53..0000000 --- a/.github/workflows/dev.yml +++ /dev/null @@ -1,131 +0,0 @@ -name: dev - -on: - push: - branches: ['**'] - tags-ignore: ['**'] - workflow_dispatch: - -env: - TEST_TAG: node:test - -jobs: - build: - strategy: - fail-fast: false - matrix: - node: [ "20", "21", "22", "23", "24", "26" ] - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v7 - - - name: Get repository name - run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV - shell: bash - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION - id: version - - - name: Read Node.js version - minor - uses: bfren/read-file@v2 - with: - file: ./${{ matrix.node }}/overlay/tmp/NODE_MINOR - id: node_minor - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION_MAJOR - id: version_major - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION_MINOR - id: version_minor - - - name: Set up QEMU - uses: docker/setup-qemu-action@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 - - - name: Login to DockerHub - uses: docker/login-action@v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Login to Quay.io Container Registry - uses: docker/login-action@v4 - with: - registry: quay.io - username: ${{ github.repository_owner }} - password: ${{ secrets.QUAY_TOKEN }} - - - name: Build and export - id: docker_export - uses: docker/build-push-action@v7 - with: - file: ./${{ matrix.node }}/Dockerfile - build-args: | - BF_IMAGE=${{ env.REPOSITORY_NAME }} - BF_VERSION=${{ steps.version.outputs.contents }} - load: true - tags: ${{ env.TEST_TAG }} - - - name: Run tests - id: docker_test - run: | - docker run --entrypoint /test ${{ env.TEST_TAG }} - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v7 - with: - context: . - file: ./${{ matrix.node }}/Dockerfile - build-args: | - BF_IMAGE=${{ env.REPOSITORY_NAME }} - BF_VERSION=${{ steps.version.outputs.contents }} - push: ${{ startsWith(github.ref, 'refs/heads/') }} - platforms: linux/amd64,linux/arm64 - tags: | - bfren/node:node${{ matrix.node }}-dev - bfren/node:node${{ matrix.node }}-${{ steps.version_major.outputs.contents }}-dev - bfren/node:node${{ matrix.node }}-${{ steps.version_minor.outputs.contents }}-dev - bfren/node:node${{ matrix.node }}-${{ steps.version.outputs.contents }}-dev - bfren/node:node${{ steps.node_minor.outputs.contents }}-dev - bfren/node:node${{ steps.node_minor.outputs.contents }}-${{ steps.version.outputs.contents }}-dev - quay.io/bfren/node:node${{ matrix.node }}-dev - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version_major.outputs.contents }}-dev - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version_minor.outputs.contents }}-dev - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version.outputs.contents }}-dev - quay.io/bfren/node:node${{ steps.node_minor.outputs.contents }}-dev - quay.io/bfren/node:node${{ steps.node_minor.outputs.contents }}-${{ steps.version.outputs.contents }}-dev - - - name: Build and push default - id: docker_build_default - if: matrix.node == '24' - uses: docker/build-push-action@v7 - with: - context: . - file: ./${{ matrix.node }}/Dockerfile - build-args: | - BF_IMAGE=${{ env.REPOSITORY_NAME }} - BF_VERSION=${{ steps.version.outputs.contents }} - push: ${{ startsWith(github.ref, 'refs/heads/') }} - platforms: linux/amd64,linux/arm64 - tags: | - bfren/node:dev - bfren/node:${{ steps.version.outputs.contents }}-dev - quay.io/bfren/node:dev - quay.io/bfren/node:${{ steps.version.outputs.contents }}-dev - - - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index e062358..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,113 +0,0 @@ -name: publish - -on: - release: - types: [published] - workflow_dispatch: - -jobs: - publish: - strategy: - fail-fast: false - matrix: - node: [ "20", "21", "22", "23", "24", "26" ] - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v7 - - - name: Get repository name - run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV - shell: bash - - - name: Read Node.js version - minor - uses: bfren/read-file@v2 - with: - file: ./${{ matrix.node }}/overlay/tmp/NODE_MINOR - id: node_minor - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION_MAJOR - id: version_major - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION_MINOR - id: version_minor - - - name: Read image version - uses: bfren/read-file@v2 - with: - file: ./VERSION - id: version - - - name: Set up QEMU - uses: docker/setup-qemu-action@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 - - - name: Login to DockerHub - uses: docker/login-action@v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Login to Quay.io Container Registry - uses: docker/login-action@v4 - with: - registry: quay.io - username: ${{ github.repository_owner }} - password: ${{ secrets.QUAY_TOKEN }} - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v7 - with: - context: . - file: ./${{ matrix.node }}/Dockerfile - build-args: | - BF_IMAGE=${{ env.REPOSITORY_NAME }} - BF_PUBLISHING=1 - BF_VERSION=${{ steps.version.outputs.contents }} - push: true - platforms: linux/amd64,linux/arm64 - tags: | - bfren/node:node${{ matrix.node }} - bfren/node:node${{ matrix.node }}-${{ steps.version_major.outputs.contents }} - bfren/node:node${{ matrix.node }}-${{ steps.version_minor.outputs.contents }} - bfren/node:node${{ matrix.node }}-${{ steps.version.outputs.contents }} - bfren/node:node${{ steps.node_minor.outputs.contents }} - bfren/node:node${{ steps.node_minor.outputs.contents }}-${{ steps.version.outputs.contents }} - quay.io/bfren/node:node${{ matrix.node }} - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version_major.outputs.contents }} - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version_minor.outputs.contents }} - quay.io/bfren/node:node${{ matrix.node }}-${{ steps.version.outputs.contents }} - quay.io/bfren/node:node${{ steps.node_minor.outputs.contents }} - quay.io/bfren/node:node${{ steps.node_minor.outputs.contents }}-${{ steps.version.outputs.contents }} - - - name: Build and push default - id: docker_build_default - if: matrix.node == '24' - uses: docker/build-push-action@v7 - with: - context: . - file: ./${{ matrix.node }}/Dockerfile - build-args: | - BF_IMAGE=${{ env.REPOSITORY_NAME }} - BF_PUBLISHING=1 - BF_VERSION=${{ steps.version.outputs.contents }} - push: true - platforms: linux/amd64,linux/arm64 - tags: | - bfren/node:latest - bfren/node:${{ steps.version.outputs.contents }} - quay.io/bfren/node:latest - quay.io/bfren/node:${{ steps.version.outputs.contents }} - - - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/README.md b/README.md index 3708348..d6d34c7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Node.js -![GitHub release (latest by date)](https://img.shields.io/github/v/release/bfren/docker-node) ![Docker Pulls](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fpulls%2Fnode) ![Docker Image Size](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fsize%2Fnode) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bfren/docker-node/dev.yml?branch=main) +![GitHub release (latest by date)](https://img.shields.io/github/v/release/bfren/docker-node) ![Docker Pulls](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fpulls%2Fnode) ![Docker Image Size](https://img.shields.io/endpoint?url=https%3A%2F%2Fbfren.dev%2Fdocker%2Fsize%2Fnode) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bfren/docker-node/build.yml?branch=main) [Docker Hub](https://hub.docker.com/r/bfren/node) - [Quay.io](https://quay.io/repository/bfren/node) - [bfren ecosystem](https://github.com/bfren/docker) From f9f510e052ba2bdf514152853d58bfa80e67cd79 Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:24 +0000 Subject: [PATCH 03/15] Adding CHANGELOG to start with v6.0.0 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d902d09 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,23 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [6.0.0] - Unreleased + +### Changed + +- **Breaking:** base image updated to `bfren/alpine-s6` 7.0.0 - see the + [Alpine + S6 changelog](https://github.com/bfren/docker-alpine-s6/blob/main/CHANGELOG.md). + `bf env set` must now run as root. +- Images are built and published by the shared `bfren/docker` build workflow (`build.yml`), replacing the separate + `dev.yml` and `publish.yml` workflows. + +### Fixed + +- The Node.js 24 image builds again - it now installs Alpine's `nodejs` package `24.22.1-r1`, which replaced + `24.22.1-r0`. + +[6.0.0]: https://github.com/bfren/docker-node/compare/v5.0.0...v6.0.0 From b94262a795b5d757fcc073ccf35d67a7fd0847ee Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:25 +0000 Subject: [PATCH 04/15] Using latest base images Co-Authored-By: Claude Opus 5.5 --- 20/Dockerfile | 2 +- 21/Dockerfile | 2 +- 22/Dockerfile | 2 +- 23/Dockerfile | 2 +- 24/Dockerfile | 2 +- 26/Dockerfile | 2 +- generate-dockerfiles.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/20/Dockerfile b/20/Dockerfile index 7e447e3..a4239dd 100644 --- a/20/Dockerfile +++ b/20/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/21/Dockerfile b/21/Dockerfile index 46ab804..dec7958 100644 --- a/21/Dockerfile +++ b/21/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/22/Dockerfile b/22/Dockerfile index 169c0fe..01a494b 100644 --- a/22/Dockerfile +++ b/22/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/23/Dockerfile b/23/Dockerfile index e7bda69..8ed6b7b 100644 --- a/23/Dockerfile +++ b/23/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/24/Dockerfile b/24/Dockerfile index 901701f..796f941 100644 --- a/24/Dockerfile +++ b/24/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/26/Dockerfile b/26/Dockerfile index ced862b..294ad85 100644 --- a/26/Dockerfile +++ b/26/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3 +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0-dev LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index 8090985..d47e587 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -4,7 +4,7 @@ set -euo pipefail docker pull bfren/alpine -BASE_VERSION="6.7.3" +BASE_VERSION="7.0.0-dev" echo "Base: ${BASE_VERSION}" NODE_VERSIONS="20 21 22 23 24 26" From 7cfd05d7dd7ac1d7e67245b4f0efccfdd7df17db Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:25 +0000 Subject: [PATCH 05/15] Updating README tag examples and application versions Co-Authored-By: Claude Opus 5.5 --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d6d34c7..e7aa2ba 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ With your app (including `node_modules`) in `./app`, and `index.js` listening on ```yaml services: app: - image: quay.io/bfren/node:node24-4.2 + image: quay.io/bfren/node:node24-6.0 restart: unless-stopped ports: - "127.0.0.1:3000:3000" @@ -45,19 +45,19 @@ Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/no | Tag | Example | Use when | | ----------------- | ----------------- | ----------------------------------------------- | | `nodeN` | `node24` | You want the latest image for a Node.js version | -| `nodeN-MAJOR` | `node24-4` | You want updates, but not breaking changes | -| `nodeN-MINOR` | `node24-4.2` | You want fixes only - **recommended** | -| `nodeN-VERSION` | `node24-4.2.6` | You want to pin this image exactly | -| `nodeN.M` | `node24.18` | You want an exact Node.js release | -| `nodeN.M-VERSION` | `node24.18-4.2.6` | You want to pin both | -| `latest`, `4.2.6` | | As above, on Node.js 24 | +| `nodeN-MAJOR` | `node24-6` | You want updates, but not breaking changes | +| `nodeN-MINOR` | `node24-6.0` | You want fixes only - **recommended** | +| `nodeN-VERSION` | `node24-6.0.0` | You want to pin this image exactly | +| `nodeN.M` | `node24.22` | You want an exact Node.js release | +| `nodeN.M-VERSION` | `node24.22-6.0.0` | You want to pin both | +| `latest`, `6.0.0` | | As above, on Node.js 24 | | Node.js | Release | Alpine | Security support ends | | ------- | ------- | ------ | --------------------- | -| 26 | 26.5.1 | 3.24 | 2029-04-30 (LTS) | -| 24 | 24.18.1 | 3.24 | 2028-04-30 (LTS) | +| 26 | 26.12.1 | 3.24 | 2029-04-30 (LTS) | +| 24 | 24.22.1 | 3.24 | 2028-04-30 (LTS) | | 23 | 23.11.1 | 3.22 | ended 2025-06-01 | -| 22 | 22.23.2 | 3.22 | 2027-04-30 (LTS) | +| 22 | 22.23.4 | 3.22 | 2027-04-30 (LTS) | | 21 | 21.7.3 | 3.20 | ended 2024-06-01 | | 20 | 20.15.1 | 3.20 | ended 2026-04-30 | @@ -94,7 +94,7 @@ The health check is the base image's, which checks cron is running - it doesn't Copy your app into `/app/live` and install its dependencies when the image is built: ```dockerfile -FROM quay.io/bfren/node:node24-4.2 +FROM quay.io/bfren/node:node24-6.0 COPY ./app /app/live RUN cd /app/live && npm ci --omit=dev From 3b072c4b2e932c73b73e82e5997551e0c137c4d6 Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:24:25 +0000 Subject: [PATCH 06/15] Using nodejs 24.22.1-r1 for Node.js 24 Co-Authored-By: Claude Opus 5.5 --- 24/overlay/tmp/NODE_BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/24/overlay/tmp/NODE_BUILD b/24/overlay/tmp/NODE_BUILD index 8defac5..6728ef5 100644 --- a/24/overlay/tmp/NODE_BUILD +++ b/24/overlay/tmp/NODE_BUILD @@ -1 +1 @@ -24.22.1-r0 \ No newline at end of file +24.22.1-r1 \ No newline at end of file From 0d80976776fe155c324f61f59a428d1e960522e0 Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 11:25:20 +0000 Subject: [PATCH 07/15] auto-pr passes the branch name as a variable Co-Authored-By: Claude Opus 5.5 --- .github/workflows/auto-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 61886a1..5646eac 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -13,6 +13,8 @@ jobs: uses: actions/checkout@v7 - name: Create Pull Request - run: gh pr create -B main --title "${{ github.ref_name }}" --body "Merging branch to create ${{ github.ref_name }}." + # pass the branch name as a variable - ${{ }} in run is pasted into the script, so a branch name could run code + run: gh pr create -B main --title "${BRANCH}" --body "Merging branch to create ${BRANCH}." env: + BRANCH: ${{ github.ref_name }} GITHUB_TOKEN: ${{ secrets.PAT }} From 69d94f1312c6a842f9d20ae7570195307e8178c9 Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 12:10:25 +0000 Subject: [PATCH 08/15] Re-adding arm/v7 builds Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 1 + CHANGELOG.md | 4 ++++ README.md | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70aa0b7..ea64acc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,7 @@ jobs: 26 platforms: | linux/amd64 + linux/arm/v7 linux/arm64 tags: | node${FOLDER} diff --git a/CHANGELOG.md b/CHANGELOG.md index d902d09..4dc7573 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [6.0.0] - Unreleased +### Added + +- Images for `linux/arm/v7` are built again. + ### Changed - **Breaking:** base image updated to `bfren/alpine-s6` 7.0.0 - see the diff --git a/README.md b/README.md index e7aa2ba..0834c70 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Your app must listen on `0.0.0.0` (all interfaces), not `127.0.0.1` - otherwise ## Tags -Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/node`) for `linux/amd64` and `linux/arm64`. +Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/node`) for `linux/amd64`, `linux/arm/v7` and `linux/arm64`. | Tag | Example | Use when | | ----------------- | ----------------- | ----------------------------------------------- | From b07ce3167989fad39705213e396a399c336f02fa Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 12:10:25 +0000 Subject: [PATCH 09/15] Using new shared build workflow Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 4 ---- CHANGELOG.md | 5 +++++ README.md | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea64acc..ab6e1d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,10 +31,6 @@ jobs: node${FOLDER}-${VERSION} node${NODE_MINOR} node${NODE_MINOR}-${VERSION} - default-folder: "24" - default-tags: | - latest - ${VERSION} secrets: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc7573..21c73cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Images are built and published by the shared `bfren/docker` build workflow (`build.yml`), replacing the separate `dev.yml` and `publish.yml` workflows. +### Removed + +- **Breaking:** the `latest` and bare version (e.g. `6.0.0`) tags are no longer published - choose a Node.js version + instead, e.g. `node24` or `node24-6`. + ### Fixed - The Node.js 24 image builds again - it now installs Alpine's `nodejs` package `24.22.1-r1`, which replaced diff --git a/README.md b/README.md index 0834c70..d3fd659 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,8 @@ Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/no | `nodeN-VERSION` | `node24-6.0.0` | You want to pin this image exactly | | `nodeN.M` | `node24.22` | You want an exact Node.js release | | `nodeN.M-VERSION` | `node24.22-6.0.0` | You want to pin both | -| `latest`, `6.0.0` | | As above, on Node.js 24 | + +There is no `latest` tag - always choose a Node.js version. | Node.js | Release | Alpine | Security support ends | | ------- | ------- | ------ | --------------------- | From 71f80391634648a980e89c8912b64014ab4345eb Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 31 Oct 2026 12:30:26 +0000 Subject: [PATCH 10/15] Cancelling older builds when a newer push starts Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab6e1d6..c9ccc3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,12 @@ on: types: [published] workflow_dispatch: +# one run per branch at a time - a newer push cancels the older run, so it cannot finish last and overwrite the +# newer images +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: uses: bfren/docker/.github/workflows/build.yml@shared-build From 20743ce0ff995edaa2f0e8dd2dd5e6b5b5792103 Mon Sep 17 00:00:00 2001 From: bfren Date: Sun, 1 Nov 2026 17:27:58 +0000 Subject: [PATCH 11/15] Switching from @shared-build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9ccc3d..87390f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ concurrency: jobs: build: - uses: bfren/docker/.github/workflows/build.yml@shared-build + uses: bfren/docker/.github/workflows/build.yml@main with: image: node folders: | From b3a8a2246e98ec6ec4bcfbf248b8b4b90d8a3fa1 Mon Sep 17 00:00:00 2001 From: bfren Date: Sun, 1 Nov 2026 18:11:05 +0000 Subject: [PATCH 12/15] Pinning the Docker Hub README action to a commit Co-Authored-By: Claude Opus 5.5 --- .github/workflows/update-readme.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 31e6472..fdd3e44 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -16,15 +16,9 @@ jobs: - name: Checkout code uses: actions/checkout@v7 - - - name: Login to DockerHub - uses: docker/login-action@v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Update repo description with README.md - uses: peter-evans/dockerhub-description@v5 + uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} From 13872a9cf4f6918626bccf85f4a79b4f42460879 Mon Sep 17 00:00:00 2001 From: bfren Date: Tue, 3 Nov 2026 08:46:46 +0000 Subject: [PATCH 13/15] Keeping local work when pulling - pull.sh fast-forwards with git pull --ff-only instead of running git reset --hard, which threw away uncommitted changes - Helper scripts are stored as executable, so pull.sh no longer needs to chmod them Co-Authored-By: Claude Opus 5.5 --- pull.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 pull.sh diff --git a/pull.sh b/pull.sh old mode 100644 new mode 100755 index 95298cc..00d8436 --- a/pull.sh +++ b/pull.sh @@ -1,9 +1,8 @@ #!/bin/sh -git reset --hard && git pull +# only fast-forward, so local work is kept +git pull --ff-only if [ -n "${1-}" ] ; then - git checkout ${1} && git pull + git checkout ${1} && git pull --ff-only fi - -chmod +x pull.sh run.sh test.nu From 7b4da19e76246489615879e1c3e614601a2b4765 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 5 Nov 2026 08:29:54 +0000 Subject: [PATCH 14/15] Removing -dev tag to prep for release --- 20/Dockerfile | 2 +- 21/Dockerfile | 2 +- 22/Dockerfile | 2 +- 23/Dockerfile | 2 +- 24/Dockerfile | 2 +- 26/Dockerfile | 2 +- generate-dockerfiles.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/20/Dockerfile b/20/Dockerfile index a4239dd..21c1a4f 100644 --- a/20/Dockerfile +++ b/20/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/21/Dockerfile b/21/Dockerfile index dec7958..7091603 100644 --- a/21/Dockerfile +++ b/21/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/22/Dockerfile b/22/Dockerfile index 01a494b..23b1c6d 100644 --- a/22/Dockerfile +++ b/22/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/23/Dockerfile b/23/Dockerfile index 8ed6b7b..edcab2c 100644 --- a/23/Dockerfile +++ b/23/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/24/Dockerfile b/24/Dockerfile index 796f941..1e4bf4a 100644 --- a/24/Dockerfile +++ b/24/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/26/Dockerfile b/26/Dockerfile index 294ad85..802142c 100644 --- a/26/Dockerfile +++ b/26/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0-dev +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.0 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node" diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index d47e587..8f37970 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -4,7 +4,7 @@ set -euo pipefail docker pull bfren/alpine -BASE_VERSION="7.0.0-dev" +BASE_VERSION="7.0.0" echo "Base: ${BASE_VERSION}" NODE_VERSIONS="20 21 22 23 24 26" From 81d36ba3c14ed46e04416105eda243f7d534ab76 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 5 Nov 2026 08:36:17 +0000 Subject: [PATCH 15/15] Prepping CHANGELOG.md for release --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c73cb..a25f62c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [6.0.0] - Unreleased +## [6.0.0] - 2026-11-05 ### Added