Commit 9c525724 authored by nimrod's avatar nimrod
Browse files

Don't re-register if not needed.

Otherwise this creates multiple runners in the same container.
parent 7284f65f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/sh
set -eux

gitlab-runner register --non-interactive
[ -f /etc/gitlab-runner/config.toml ] || gitlab-runner register --non-interactive
eval exec /entrypoint "$@"