26 lines
645 B
Markdown
26 lines
645 B
Markdown
# Forgejo actions base image
|
|
|
|
Docker image with all dependencies installed, configured to be as close to
|
|
GitHub actions as possible.
|
|
|
|
Creates a `ci` user with passwordless sudo to enable nix single-user install in
|
|
a `node:20-bookworm` base image.
|
|
|
|
See this [GH issue](https://github.com/NixOS/nix/issues/1559) for additional
|
|
context.
|
|
|
|
|
|
### How to update the image
|
|
|
|
On push to the `main` branch, a job will be triggered to build the image and
|
|
push it as `git.pub.solar/pub-solar/actions-base-image:20-bookworm`.
|
|
|
|
|
|
### Local testing
|
|
|
|
Building the image locally:
|
|
|
|
```
|
|
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
|
|
```
|