Commit 4eed57eb authored by Marcus Thelin's avatar Marcus Thelin
Browse files

Config template

parent 35929f51
Pipeline #14611 passed with stage
in 17 seconds
......@@ -2,6 +2,8 @@ FROM gitlab/gitlab-runner:latest
WORKDIR /app
COPY config.template.toml /app/config.template.toml
COPY ./start.sh /app/start.sh
ENTRYPOINT ["./start.sh"]
[[runners]]
[runners.docker]
volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
\ No newline at end of file
......@@ -5,6 +5,7 @@ gitlab-runner register -n \
--registration-token $GITLAB_RUNNER_TOKEN \
--executor docker \
--docker-image "registry2.24hr.se/gitlab-runners/node-aws-runner/docker-default-image:${GITLAB_RUNNER_DEFAULT_IMAGE:-latest}" \
--template-config /app/config.template.toml \
--description "Let's you run Docker images in your jobs by specifying the \"image\" property in CI config." \
--tag-list "docker" \
--locked false
......
Supports Markdown
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