Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dd7bf59586 | |||
| dbc14129fc |
@@ -33,7 +33,7 @@
|
||||
containers.podman.podman_image:
|
||||
name: docker.io/{{ item }}
|
||||
loop:
|
||||
- gitea/act_runner:latest
|
||||
- gitea/runner:latest
|
||||
|
||||
- name: Change permission to act_runner folder
|
||||
become_user: root
|
||||
@@ -62,7 +62,7 @@
|
||||
become: true
|
||||
containers.podman.podman_container:
|
||||
name: act_runner
|
||||
image: gitea/act_runner:latest
|
||||
image: docker.io/gitea/runner:latest
|
||||
state: present
|
||||
security_opt:
|
||||
# - label=type:container_runtime_t
|
||||
@@ -75,6 +75,8 @@
|
||||
- act_runner:/data:Z
|
||||
- /etc/act_runner:/config:Z
|
||||
- /run/user/{{ uid_containers.stdout }}/podman/podman.sock:/var/run/docker.sock:z
|
||||
label:
|
||||
io.containers.autoupdate: "registry"
|
||||
env:
|
||||
GITEA_INSTANCE_URL: "{{ vault_act_runner_host }}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ vault_act_runner_token }}"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Example configuration file, it's safe to copy this as the default config file without any modification.
|
||||
|
||||
# You don't have to copy this file to your instance,
|
||||
# just run `./act_runner generate-config > config.yaml` to generate a config file.
|
||||
# just run `./gitea-runner generate-config > config.yaml` to generate a config file.
|
||||
|
||||
log:
|
||||
# The level of logging, can be trace, debug, info, warn, error, fatal
|
||||
|
||||
Reference in New Issue
Block a user