Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
Pipeline #2 failed
#!/bin/sh #!/bin/sh
set -eux set -eux
gitlab-runner register --non-interactive [ -f /etc/gitlab-runner/config.toml ] || gitlab-runner register --non-interactive
eval exec /entrypoint "$@" eval exec /entrypoint "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment