gitlab_runner: Actually use path variable in config volume mount

This commit is contained in:
saibotk 2021-01-02 16:01:16 +01:00
parent d98052630f
commit 5b627023e9
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -23,7 +23,7 @@ services:
mem_limit: 128mb
memswap_limit: 256mb
volumes:
- "./config:/etc/gitlab-runner"
- "{{ gitlabrunner_config_location }}:/etc/gitlab-runner"
{% if gitlabrunner_mount_docker_socket %}
- "/var/run/docker.sock:/var/run/docker.sock"
{% endif %}