Commit b864e866 authored by nanahira's avatar nanahira

fix

parent 962f5680
......@@ -23,7 +23,7 @@
- name: register
shell: |
{% for instance in instances %}
docker-compose exec -T runner gitlab-runner register --non-interactive --url '{{ instance.url }}' --registration-token '{{ instance.token }}' --description '{{ instance.desc }} runner on {{ inventory_hostname }}' --executor '{{ instance.type | default("docker") }}' --docker-volumes /cache {% if instance.docker | default(false) %} --tag-list docker --docker-privileged --docker-volumes /var/run/docker.sock --docker-image docker:20-git {% else %} --tag-list linux --docker-image git-registry.mycard.moe/mycard/docker-runner-base:latest {% endif %}
docker-compose exec -T runner gitlab-runner register --non-interactive --url '{{ instance.url }}' --registration-token '{{ instance.token }}' --description '{{ instance.desc }} runner on {{ inventory_hostname }}' --executor '{{ instance.type | default("docker") }}' --docker-volumes /cache {% if instance.docker | default(false) %} --tag-list docker --docker-privileged --docker-volumes /var/run/docker.sock:/var/run/docker.sock --docker-image docker:20-git {% else %} --tag-list linux --docker-image git-registry.mycard.moe/mycard/docker-runner-base:latest {% endif %}
{% endfor %}
args:
......
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