Skip to content

Instantly share code, notes, and snippets.

@Nesh108
Created April 22, 2020 07:49
Show Gist options
  • Save Nesh108/b55fa8e890e0fae0dba33a5efb078871 to your computer and use it in GitHub Desktop.
Save Nesh108/b55fa8e890e0fae0dba33a5efb078871 to your computer and use it in GitHub Desktop.
Setup GitLab Runner for Automated Builds
sudo gitlab-runner register \
--name BuildRunner \
--executor shell \
--non-interactive \
--registration-token <TOKEN> \
--url <REPO_URL> \
--tls-ca-file <PATH_TO_LETSENCRYPT_FULLCHAIN_PEM> \
--run-untagged true
# Activate it
sudo gitlab-runner verify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment