jx/examples/container.jx.yaml
Matthew Rich a6426da6e1
Some checks failed
Lint / golangci-lint (push) Successful in 9m53s
Declarative Tests / test (push) Failing after 5s
Declarative Tests / build-fedora (push) Successful in 2m12s
Declarative Tests / build-ubuntu-focal (push) Successful in 1m21s
add support for RSA keys/certs
2024-07-17 01:34:57 -07:00

23 lines
611 B
YAML

resources:
- type: container
attributes:
image: gitea/act_runner:latest
name: builder
environment:
CONFIG_FILE: /act_runner/etc/config.xml
GITEA_INSTANCE_URL: https://gitea.example
GITEA_RUNNER_REGISTRATION_TOKEN: abcdef1234567890
GITEA_RUNNER_NAME: builder
hostconfig:
mounts:
- type: "bind"
source: "act_runner/etc"
target: "/act_runner/etc"
- type: "bind"
source: "act_runner/data"
target: "/data"
- type: "bind"
source: "/var/run/docker.sock"
target: "/var/run/docker.sock"
state: present