perf(ci): ajouter cache et image Node 22 au runner recette

This commit is contained in:
Manus AI
2026-08-18 12:33:40 +00:00
parent d553cc4278
commit 35206fb14b
4 changed files with 21 additions and 7 deletions

View File

@@ -8,11 +8,12 @@ readonly RUNNER_DIR="/opt/manus-deploy/gitea-runner"
readonly GITEA_CONTAINER="gitea"
readonly GITEA_URL="https://git.recette.santinova-soft.org"
readonly RUNNER_NAME="recette-docker-runner"
readonly RUNNER_IMAGE="gitea-runner-node:20"
readonly RUNNER_LABELS="ubuntu-latest:docker://${RUNNER_IMAGE}"
readonly RUNNER_IMAGE="gitea-runner-node:22"
readonly RUNNER_LABELS="ci-node22:docker://${RUNNER_IMAGE}"
readonly LABEL_FILE="${RUNNER_DIR}/labels"
install -d -m 0750 "${RUNNER_DIR}"
install -d -m 0750 "${RUNNER_DIR}/cache"
install -m 0640 "${SCRIPT_DIR}/gitea-act-runner-config.yaml" "${RUNNER_DIR}/config.yaml"
install -D -m 0644 "${SCRIPT_DIR}/gitea-act-runner.service" /etc/systemd/system/gitea-act-runner.service
docker build --tag "${RUNNER_IMAGE}" --file "${SCRIPT_DIR}/Dockerfile.gitea-runner" "${APP_DIR}"