Skip to content

Instantly share code, notes, and snippets.

@pvsousalima
Created July 2, 2019 15:05
Show Gist options
  • Save pvsousalima/d88248bf92067d7bf3868f959dfbd649 to your computer and use it in GitHub Desktop.
Save pvsousalima/d88248bf92067d7bf3868f959dfbd649 to your computer and use it in GitHub Desktop.
registering a runner and running
docker run --rm -v ~/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner register \
--non-interactive \
--executor "shell" \
--docker-image alpine:latest \
--url "https://gitlab.com/" \
--registration-token "" \
--description "docker-runner" \
--tag-list "develop" \
--run-untagged="true" \
--locked="false" \
--access-level="not_protected"
docker run --rm -v ~/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment