- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Publish images / net-sdk-node 10.0.401 (default) (push) Successful in 41s
Publish images / net-sdk-node 11.0.100-rc.1 (alpine) (push) Successful in 40s
Publish images / net-sdk-node 10.0.401 (alpine) (push) Successful in 42s
Publish images / net-sdk-node 11.0.100-rc.1 (default) (push) Successful in 42s
|
||
| .forgejo/workflows | ||
| net-sdk-node | ||
| .gitignore | ||
| README.md | ||
Docker
A collection of (custom) (CI) Docker images.
Usage
MAKE SURE that an Actions secret called REGISTRY_TOKEN exists and contains an access token with package:write
permission.
The publish workflow builds net-sdk-node images in parallel for each full .NET SDK
version and system variant (default and alpine) in its matrix. Runner capacity determines how many builds run at
once.
Update matrix.sdk to select full SDK versions and their corresponding Alpine releases from
mcr.microsoft.com/dotnet/sdk.
Fedora runner with rootless Podman
- Enable the Podman API socket as the user running Forgejo Runner:
systemctl --user enable --now podman.socket
- Add the following to the runner configuration, replacing
1001with the runner's user's UID (id -u):
runner:
envs:
DOCKER_HOST: unix:///var/run/docker.sock
container:
docker_host: unix:///run/user/1001/podman/podman.sock
options: '--add-host=dind_container.docker.internal:host-gateway --security-opt label=disable'
Because Fedora's SELinux policy blocks access to the mounted socket with permission denied from inside containers (for
security reasons), we must add --security-opt label=disable. This disables SELinux container separation for the
runner, but this allows job containers to interact with eachother; use this option with caution.
If this causes issues, remove this option from the runner configuration and add it to trusted workflows instead.
- Restart the runner.
Tags
| Variant | Tags |
|---|---|
| Default | 11.0.100-rc.1, 11.0, 11 |
| Alpine | 11.0.100-rc.1-alpine, 11.0-alpine, 11-alpine |