actions-base-image/README.md

26 lines
645 B
Markdown
Raw Permalink Normal View History

2023-12-13 00:50:24 +00:00
# Forgejo actions base image
2023-12-13 00:49:33 +00:00
2023-12-13 00:50:24 +00:00
Docker image with all dependencies installed, configured to be as close to
GitHub actions as possible.
2024-11-07 09:44:15 +00:00
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
2023-12-28 18:53:23 +00:00
2023-12-28 22:07:43 +00:00
Building the image locally:
2023-12-13 00:50:24 +00:00
```
2023-12-28 22:07:43 +00:00
docker build --tag git.pub.solar/pub-solar/actions-base-image:20-bookworm .
2023-12-13 00:50:24 +00:00
```