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
149 changes: 8 additions & 141 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -152,137 +153,3 @@ a `canary` version.

---
_This repository was created using the [Scaffold](https://getscaffold.dev/) project template_






































































































































3 changes: 2 additions & 1 deletion versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down