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: 3 additions & 1 deletion .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build

on:
push:
branches: ['**']
tags-ignore: ['**']
release:
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@main
with:
image: node
folders: |
20
21
22
23
24
26
platforms: |
linux/amd64
linux/arm/v7
linux/arm64
tags: |
node${FOLDER}
node${FOLDER}-${VERSION_MAJOR}
node${FOLDER}-${VERSION_MINOR}
node${FOLDER}-${VERSION}
node${NODE_MINOR}
node${NODE_MINOR}-${VERSION}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
131 changes: 0 additions & 131 deletions .github/workflows/dev.yml

This file was deleted.

113 changes: 0 additions & 113 deletions .github/workflows/publish.yml

This file was deleted.

8 changes: 1 addition & 7 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion 20/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
2 changes: 1 addition & 1 deletion 21/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
2 changes: 1 addition & 1 deletion 22/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
2 changes: 1 addition & 1 deletion 23/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
2 changes: 1 addition & 1 deletion 24/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
2 changes: 1 addition & 1 deletion 24/overlay/tmp/NODE_BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.22.1-r0
24.22.1-r1
2 changes: 1 addition & 1 deletion 26/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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] - 2026-11-05

### Added

- Images for `linux/arm/v7` are built again.

### 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.

### 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
`24.22.1-r0`.

[6.0.0]: https://github.com/bfren/docker-node/compare/v5.0.0...v6.0.0
Loading
Loading