Created
March 6, 2021 15:35
-
-
Save sagitarius29/e4ef5b024e659a3ff0909df0abeb345b to your computer and use it in GitHub Desktop.
Register Runner for Gitlab command line code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo gitlab-runner register \ | |
--non-interactive \ | |
--url "https://gitlab.com/" \ | |
--registration-token "HERE-TOKEN" \ | |
--executor "docker" \ | |
--docker-image alpine:latest \ | |
--description "gitlab-runner" \ | |
--tag-list "docker,aws" \ | |
--run-untagged="true" \ | |
--locked="false" \ | |
--access-level="not_protected" | |
--docker-volumes "/var/run/docker.sock:/var/run/docker.sock" \ | |
--docker-volumes "/certs/client" \ | |
--docker-volumes "/cache" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment