diff --git a/docker/agents/entrypoint.sh b/docker/agents/entrypoint.sh index c5f5163..c40b551 100644 --- a/docker/agents/entrypoint.sh +++ b/docker/agents/entrypoint.sh @@ -19,7 +19,9 @@ log() { # Build crontab from project TOMLs and install for the agent user. install_project_crons() { local cron_lines="DISINTO_CONTAINER=1 -USER=agent" +USER=agent +FORGE_URL=http://forgejo:3000 +PROJECT_REPO_ROOT=/home/agent/repos/${pname}" for toml in "${DISINTO_DIR}"/projects/*.toml; do [ -f "$toml" ] || continue local pname