No description
Find a file
Midas van Oene 248200c01a
All checks were successful
Build and Publish / build (push) Successful in 9s
Add README and CLAUDE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 11:11:33 +01:00
.forgejo/workflows 17 2026-03-08 10:41:21 +01:00
.idea intial 2026-03-08 10:15:55 +01:00
CLAUDE.md Add README and CLAUDE.md 2026-03-08 11:11:33 +01:00
Dockerfile Use node:20-bookworm-slim as base image, removing separate nodesource Node.js install 2026-03-08 10:56:07 +01:00
README.md Add README and CLAUDE.md 2026-03-08 11:11:33 +01:00

runner-env

Docker image used as the environment for Forgejo Actions runners. It provides all the tools needed to build Java/Maven projects with a Node.js frontend and push Docker images.

What's included

Tool Version / Notes
Node.js 20 (via node:20-bookworm-slim base)
npm bundled with Node.js
Java Temurin JDK 17 or 21 (see branches)
Maven from Debian apt
Docker CLI latest stable, no daemon
Git from Debian apt
SSH client for git push over SSH

Branches & tags

Branch JDK Published tag
17 17 git.midasvo.nl/midas/runner-env:17
21 21 git.midasvo.nl/midas/runner-env:21
develop 21 git.midasvo.nl/midas/runner-env:develop

Usage in Forgejo Actions

jobs:
  build:
    runs-on: your-runner-label
    steps:
      - uses: actions/checkout@v3

      - name: Build and push
        env:
          DOCKER_API_VERSION: "1.43"
        run: |
          docker build -t your-image:tag .
          docker push your-image:tag

Note: Set DOCKER_API_VERSION: "1.43" when using Docker commands. The runner mounts the host Docker socket and the host daemon may be older than the CLI bundled in this image.

Building manually

docker build -t git.midasvo.nl/midas/runner-env:17 .
docker push git.midasvo.nl/midas/runner-env:17

CI

Pushing to any branch triggers a build and push via .forgejo/workflows/build.yml. The image tag matches the branch name.

Required repository secrets:

  • REGISTRY_USERNAME
  • REGISTRY_PASSWORD