building act_runner
continuous-integration/drone/push Build is passing Details
learn-github-actions / check-bats-version (push) Has been cancelled Details

This commit is contained in:
giles 2023-10-20 18:39:51 +01:00
parent 37747e29ed
commit fa46c3300e
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,6 @@
sleep 10 sleep 10
docker build gitea \ docker build gitea \
--build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/gitea:$1 -t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/gitea:$1
docker build act_runner \
-t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/act_runner:$1

3
act_runner/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM gitea/act_runner:latest
COPY config.yaml /
CMD ["act_runner", "daemon"]

View File

@ -38,13 +38,13 @@ services:
replicas: 1 replicas: 1
restart_policy: restart_policy:
condition: any condition: any
image: gitea/act_runner:latest image: ${LOCAL_DOCKER_REGISTRY}act_runner:${TAG}
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
networks: networks:
- appnet - appnet
environment: environment:
# - e CONFIG_FILE=/config.yaml \ - CONFIG_FILE=/config.yaml \
- GITEA_INSTANCE_URL=https://sigyl.com/git/ - GITEA_INSTANCE_URL=https://sigyl.com/git/
- GITEA_RUNNER_REGISTRATION_TOKEN=$RUNNER_REGISTRATION_TOKEN - GITEA_RUNNER_REGISTRATION_TOKEN=$RUNNER_REGISTRATION_TOKEN
- GITEA_RUNNER_NAME="giles-test" - GITEA_RUNNER_NAME="giles-test"