Malik Mann
24d136175d
Made UPX available for other architechures
2024-04-16 23:50:05 +02:00
Malik Mann
a42e95ba78
Fixed crash loop on renamed registration file
2024-04-16 23:37:37 +02:00
sebthom
9d7ba80551
fix typo
2024-03-14 13:03:35 +01:00
sebthom
38859d58d0
restore rootless image builds
2024-03-13 12:11:49 +01:00
sebthom
a3e0f26ee4
improve docker builds
2024-03-12 19:55:04 +01:00
sebthom
3c2c2e599f
remove unused packages
2024-03-12 16:45:20 +01:00
sebthom
2d2488945b
install dind-hack script according to docker engine version
2024-03-12 14:44:39 +01:00
sebthom
e20189b7ea
use catthehacker/ubuntu:act instead of ubuntu:runner. Fixes #45
2024-03-12 14:36:36 +01:00
sebthom
1558fa8524
extend logging during build
2024-03-12 14:35:55 +01:00
MuXiu1997
1cb1426855
fix: replace `GITEA_RUNNER_ACTION_CACHE_DIR` with `GITEA_RUNNER_HOST_WORKDIR_PARENT`
2023-12-26 23:54:50 +01:00
MuXiu1997
5a8bf4fda0
fix: correct error `'/var/run/docker.sock': No such file or directory` when `GITEA_RUNNER_JOB_CONTAINER_DOCKER_HOST` is set
2023-12-21 12:36:18 +01:00
naeternitas
f6e6a54765
Update config.template.yaml
2023-11-10 09:36:43 -06:00
Jean-Baptiste Gomond
816b21f4bd
Fixed force_pull boolean unmarshal error
2023-10-02 00:01:02 +02:00
sebthom
3ed87637b7
add GITEA_RUNNER_JOB_CONTAINER_FORCE_PULL environment variable
2023-09-28 12:47:20 +02:00
sebthom
3086406de8
Fix error 'usermod: user act is currently used by process 1' #30
2023-09-22 13:35:18 +02:00
sebthom
630cd3a22c
add ACT_CACHE_SERVER_EXTERNAL_URL environment variable
2023-07-28 18:49:40 +02:00
sebthom
e0e12392a6
log config environment variables on container start
2023-07-26 10:37:59 +02:00
Sebastian Thomschke
3d345c666f
Fix string interpolation #22
2023-07-24 07:32:36 +02:00
olofvndrhr
6b01de76ee
Remove redundant config template defaults from Docker file #21
2023-07-23 13:41:44 +02:00
sebthom
dcd2de1f6e
update config template
2023-07-23 13:26:38 +02:00
sebthom
104f38ecdf
add GITEA_RUNNER_VALID_VOLUME_N environment variables
2023-07-23 13:26:31 +02:00
sebthom
3dc5f01c04
log act runner version on container start
2023-07-23 12:45:04 +02:00
sebthom
b358cbedd6
fix dind-rootless container not starting #20
2023-07-23 12:25:13 +02:00
sebthom
0866e7aafc
define GITEA_RUNNER_JOB_CONTAINER_DOCKER_HOST to address #17
2023-07-03 19:10:59 +02:00
sebthom
6b85990415
treat backticks in config yaml template as literals
2023-07-01 13:56:53 +02:00
William Blew
56bf244387
config.template.yaml - replace backticks with quotes
...
Replace the backtick characters introduced in xxx with double quotes.
This fixes the /opt/run-runner.sh container startup failure.
Signed-off-by: William Blew <william@kulian.org>
2023-07-01 13:35:25 +02:00
sebthom
487c6908d0
add GITEA_RUNNER_JOB_CONTAINER_DOCKER_HOST variable
2023-06-30 23:06:57 +02:00
sebthom
0d730e4911
add GITEA_RUNNER_JOB_CONTAINER_WORKDIR_PARENT variable
2023-06-28 23:53:15 +02:00
Ivan Schaller
5dd910707a
update config template
...
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
2023-06-26 22:04:06 +02:00
sebthom
fccc482c5d
create docker tag with exact runner version
2023-06-22 15:18:25 +02:00
sebthom
dfc5a30aff
refactor permission fixing
2023-06-04 14:24:15 +02:00
sebthom
c45c9fc54b
also monitor docker daemon process when using dind-rootless
2023-06-03 12:40:04 +02:00
sebthom
688bd30a8d
add dind-rootless
2023-05-30 18:06:20 +02:00
sebthom
cf925b88e4
improve background service handling
2023-05-30 13:13:42 +02:00
sebthom
d848df35a6
improve build scripts
2023-05-29 22:19:05 +02:00
sebthom
19f8e34ad0
Avoid using sudo if on happy path
2023-05-27 13:55:49 +02:00
sebthom
14e718454a
fix: error when using custom GITEA_RUNNER_UID envvar value
...
"sudo: you do not exist in the passwd database"
2023-05-20 15:05:46 +02:00
William Blew
c5334e1f65
Fix: `usermod: group '...' does not exist` with custom GITEA_RUNNER_GID ( #10 )
2023-05-20 14:41:07 +02:00
William Blew
04c232ff95
Fix #5 : GITEA_RUNNER_GID envar is ignored ( #6 )
...
image/run.sh fails to the container:act user's effective GID to the
GITEA_RUNNER_GID envar's value due due to a 'usermod -o -u'
typo. It should be: usermod -o -g "$GITEA_RUNNER_GID" act
Signed-off-by: William Blew <william@kulian.org>
2023-05-14 11:13:51 +02:00
sebthom
313f378023
add ARM builds
2023-05-10 23:04:50 +02:00
sebthom
4a76493e27
minor cleanup
2023-05-09 23:00:07 +02:00
sebthom
37f7d0b82e
Fix #3 failed to create symbolic link: File exists
2023-05-04 15:11:17 +02:00
sebthom
f6092289dd
add Dockerfile linter
2023-05-01 13:28:58 +02:00
sebthom
0d53de011a
add docker-in-docker image
2023-04-30 13:56:58 +02:00
sebthom
74d39bb0a5
use `catthehacker/ubuntu:runner-***` images for default labels
2023-04-28 13:16:45 +02:00
sebthom
7215df2b59
more logging for runner registration
2023-04-28 00:28:36 +02:00
sebthom
aa47f5405c
use latest stable act_runner release instead of nightly builds
2023-04-28 00:28:36 +02:00
sebthom
964ab94700
Revert "add docker client ( #2 )"
...
This reverts commit eb4098071b .
2023-04-27 21:48:25 +02:00
sebthom
8d41a53e5e
Revert "add docker client ( #2 )"
...
This reverts commit 81f4ed3e9c .
2023-04-27 21:48:25 +02:00
sebthom
81f4ed3e9c
add docker client ( #2 )
2023-04-19 22:45:57 +02:00