Commit e4ab9c3a authored by Daniel Scheffler's avatar Daniel Scheffler

Added docker-pull-policy to register command.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 429c2622
Pipeline #12212 failed with stage
in 23 seconds
......@@ -20,8 +20,8 @@ sudo docker run \
--name ${gitlab_runner} \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v gitlab-runner-config:/etc/gitlab-runner \
gitlab/gitlab-runner:latest
# -v gitlab-runner-config:/etc/gitlab-runner \
echo "#### Register container at gitlab, get token here https://gitext.gfz-potsdam.de/danschef/py_tools_ds/settings/ci_cd"
read -p "Please enter gitlab token: " token
......@@ -40,5 +40,6 @@ gitlab-ci-multi-runner register \
--tag-list py_tools_ds_ci_client \
--run-untagged='true' \
--locked='true' \
--access-level='not_protected'"
--access-level='not_protected' \
--docker-pull-policy='never'"
ls
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment