Skip to content

Instantly share code, notes, and snippets.

@piyoki
Created May 12, 2022 10:08
Show Gist options
  • Save piyoki/36b4c49c29c09da99c31c02798460c1d to your computer and use it in GitHub Desktop.
Save piyoki/36b4c49c29c09da99c31c02798460c1d to your computer and use it in GitHub Desktop.
gitlab-stuffs
docker run -t --rm --name gitlab-runner-register -v ~/.gitlab-runner:/etc/gitlab-runner gitlab/gitlab-runner \
 register \
--non-interactive \
--executor="docker" \
--docker-image alpine:latest \
--url "https://gitlab.com/" \
--registration-token "{{YOUR_TOKEN_HERE}}" \
--description "A docker runner" \
--tag-list "local-dev" \
--run-untagged="true" \
--locked="false";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment