diff --git a/gitea_act_runner/rootfs/etc/services.d/actrunner/run b/gitea_act_runner/rootfs/etc/services.d/actrunner/run index fd9d7c6..2e97be1 100644 --- a/gitea_act_runner/rootfs/etc/services.d/actrunner/run +++ b/gitea_act_runner/rootfs/etc/services.d/actrunner/run @@ -38,6 +38,9 @@ GITEA_TOKEN=$(bashio::config 'gitea_token') REPOSITORY=$(bashio::config 'repository') ACT_OPTIONS=$(bashio::config 'act_runner_options') +# Activate the Ansible virtual environment +source /opt/ansible-venv/bin/activate + # Register Act runner with Gitea (if needed) curl -X POST "$GITEA_URL/api/v1/repos/$REPOSITORY/actions/runners" \ -H "Authorization: token $GITEA_TOKEN" \