Custom Forgejo Actions job image based on node:20-bookworm with Buildx pre-installed
  • Dockerfile 100%
Find a file
Sergey Popov 27d2e54fcb
All checks were successful
Build and Push Job Image / build (push) Successful in 6m46s
feat: add docker-ce-cli to job image for Docker CLI support
2026-07-17 21:50:12 +03:00
.forgejo/workflows workflow: switch Harbor login from HARBOR_USERNAME/PASSWORD to LOCAL_REGISTRY_USERNAME/PASSWORD 2026-07-15 21:46:40 +03:00
.gitignore feat: initial commit — forgejo-job-node image with Buildx v0.35.0 2026-07-15 19:22:21 +03:00
Dockerfile feat: add docker-ce-cli to job image for Docker CLI support 2026-07-17 21:50:12 +03:00
README.md fix: migrate cache refs to dedicated build-cache project 2026-07-15 20:09:30 +03:00

forgejo-job-node

Custom Forgejo Actions job image based on node:20-bookworm for linux/amd64 only.

Purpose

Provides a pre-configured Node.js 20 environment with Buildx pre-installed for use as a Forgejo Actions job container. Ships Buildx pre-pinned so that docker/setup-buildx-action@v3 can use the binary already on disk instead of downloading it from GitHub.

Architecture

  • amd64 only — no ARM support. Built and published for linux/amd64.
  • Base image pulled through Harbor proxy cache: cr.ppvn.ru/docker-hub-proxy/library/node:20-bookworm
  • Published image: cr.ppvn.ru/library/forgejo-job-node:20-bookworm-buildx

Pinned versions

Component Version
Node.js 20 (bookworm base)
Buildx v0.35.0

Local build and publish

# Build (on linux/amd64 host or with QEMU emulation)
docker build \
  --platform linux/amd64 \
  -t cr.ppvn.ru/library/forgejo-job-node:20-bookworm-buildx \
  .

# Push to Harbor
docker push cr.ppvn.ru/library/forgejo-job-node:20-bookworm-buildx

CI/CD

The workflow in .forgejo/workflows/build.yml handles automated build and push on push to main (and other branches). It uses registry cache at cr.ppvn.ru/build-cache/library-forgejo-job-node:main.