From 2544ad1f91bf4d6b052f58bf22c859f6c7bb86b7 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 22 May 2026 06:49:49 +1000 Subject: [PATCH 1/3] Fixed inconsistencies in 'README.md'. --- README.md | 155 ++++-------------------------------------------------- 1 file changed, 11 insertions(+), 144 deletions(-) diff --git a/README.md b/README.md index dcea123..4f05e56 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ Based on Debian `php:8.4-cli-bookworm`. - [kcov](https://github.com/SimonKagstrom/kcov): `43` - [lsof](https://github.com/lsof-org/lsof): `4.95.0` - [Lynx](https://lynx.invisible-island.net): `2.9.0` -- [Node.js](https://nodejs.org): `24.16.0` -- [npm](https://www.npmjs.com): `11.13.0` -- [npx](https://www.npmjs.com/package/npx): `11.13.0` +- [Node.js](https://nodejs.org): `24.15.0` +- [npm](https://www.npmjs.com): `11.12.1` +- [npx](https://www.npmjs.com/package/npx): `11.12.1` - [PHP](https://www.php.net): `8.4.21` - [rsync](https://rsync.samba.org): `3.2.7` - [ShellCheck](https://www.shellcheck.net): `0.11.0` @@ -53,23 +53,24 @@ Based on Debian `php:8.4-cli-bookworm`. - [Vim](https://www.vim.org): `9.0` - [Yarn](https://yarnpkg.com): `1.22.22` - [Zip](http://www.info-zip.org/Zip.html): `3.0` + ## Usage Make sure to **always** pin the version of this image to the tag: -``` -drevops/ci-runner:25.1.0 +```text +drevops/ci-runner:25.8.0 ``` For testing purposes, you can use the `canary` tag: -``` +```text drevops/ci-runner:canary ``` When using in GitHub Actions, make sure to add a fix for the overwritten `$HOME`: -``` +```yaml name: Test jobs: @@ -89,7 +90,7 @@ jobs: ## Testing -The image includes [Goss](https://github.com/aelsabbahy/goss) for environment testing. To run tests locally using dgoss: +This project uses [Goss](https://github.com/aelsabbahy/goss) (via `dgoss`) to test the image environment from the host. The image itself does not bundle Goss. To run the tests locally: ```bash # Build the image @@ -128,11 +129,11 @@ export GOSS_PATH=~/bin/goss-linux-amd64 This project uses _Year-Month-Patch_ versioning: -- `YY`: Last two digits of the year, e.g., `23` for 2023. +- `YY`: Last two digits of the year, e.g., `25` for 2025. - `m`: Numeric month, e.g., April is `4`. - `patch`: Patch number for the month, starting at `0`. -Example: `23.4.2` indicates the third patch in April 2023. +Example: `25.4.2` indicates the third patch in April 2025. ### Releasing @@ -152,137 +153,3 @@ a `canary` version. --- _This repository was created using the [Scaffold](https://getscaffold.dev/) project template_ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 92df250bc3cae9391bd27b550d70f85e63931c7a Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 22 May 2026 06:54:10 +1000 Subject: [PATCH 2/3] Restored 'Node.js', 'npm', 'npx' versions in 'README.md'. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f05e56..a819c76 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ Based on Debian `php:8.4-cli-bookworm`. - [kcov](https://github.com/SimonKagstrom/kcov): `43` - [lsof](https://github.com/lsof-org/lsof): `4.95.0` - [Lynx](https://lynx.invisible-island.net): `2.9.0` -- [Node.js](https://nodejs.org): `24.15.0` -- [npm](https://www.npmjs.com): `11.12.1` -- [npx](https://www.npmjs.com/package/npx): `11.12.1` +- [Node.js](https://nodejs.org): `24.16.0` +- [npm](https://www.npmjs.com): `11.13.0` +- [npx](https://www.npmjs.com/package/npx): `11.13.0` - [PHP](https://www.php.net): `8.4.21` - [rsync](https://rsync.samba.org): `3.2.7` - [ShellCheck](https://www.shellcheck.net): `0.11.0` From 6cd123c2229fc2c99aa27b8b0f8e1ad14a0a9c91 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 22 May 2026 06:54:18 +1000 Subject: [PATCH 3/3] Fixed 'versions.js' to preserve blank line and stop accumulating trailing newlines. --- versions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versions.js b/versions.js index 347a42a..d755bf6 100755 --- a/versions.js +++ b/versions.js @@ -50,6 +50,7 @@ function updateReadme(readmePath, sectionTitle, newContent) { for (const line of lines) { if (line === sectionTitle) { result.push(newContent.trimEnd()); + result.push(''); shouldSkip = true; continue; } @@ -63,7 +64,7 @@ function updateReadme(readmePath, sectionTitle, newContent) { } } - const newReadme = result.join('\n') + "\n\n"; + const newReadme = result.join('\n').replace(/\n*$/, '\n'); if (readme === newReadme) { return false;