Try to access map correctly

This commit is contained in:
Patrik Lundin 2024-10-03 20:42:39 +02:00
parent 25a18fd58b
commit d1d72ad80a
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -31,7 +31,7 @@ services:
bash -ec '
while : ; do
if [ -f .runner ]; then echo "runner already registered, exiting"; exit; fi
forgejo-runner register --no-interactive --name <%= @networking.fqdn %> --instance https://platform.sunet.se --token <%= @runner_token %> --labels docker:docker://node:20-bookworm,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04 && break;
forgejo-runner register --no-interactive --name <%= @networking['fqdn'] %> --instance https://platform.sunet.se --token <%= @runner_token %> --labels docker:docker://node:20-bookworm,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04 && break;
sleep 1 ;
done ;
forgejo-runner generate-config > config.yml ;