building act_runner
This commit is contained in:
parent
37747e29ed
commit
fa46c3300e
|
@ -1,5 +1,6 @@
|
|||
sleep 10
|
||||
|
||||
docker build gitea \
|
||||
--build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
|
||||
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/gitea:$1
|
||||
docker build act_runner \
|
||||
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/act_runner:$1
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
FROM gitea/act_runner:latest
|
||||
COPY config.yaml /
|
||||
CMD ["act_runner", "daemon"]
|
|
@ -38,13 +38,13 @@ services:
|
|||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: gitea/act_runner:latest
|
||||
image: ${LOCAL_DOCKER_REGISTRY}act_runner:${TAG}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
networks:
|
||||
- appnet
|
||||
environment:
|
||||
# - e CONFIG_FILE=/config.yaml \
|
||||
- CONFIG_FILE=/config.yaml \
|
||||
- GITEA_INSTANCE_URL=https://sigyl.com/git/
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN=$RUNNER_REGISTRATION_TOKEN
|
||||
- GITEA_RUNNER_NAME="giles-test"
|
||||
|
|
Loading…
Reference in New Issue