Skip to content

Instantly share code, notes, and snippets.

@matiasah
Last active February 4, 2021 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matiasah/0399276513e1f7d5925df8e2f68f0366 to your computer and use it in GitHub Desktop.
Save matiasah/0399276513e1f7d5925df8e2f68f0366 to your computer and use it in GitHub Desktop.
Instalar GitLab Runner

Instalar archivos binarios de Linux

https://docs.gitlab.com/runner/install/linux-manually.html

Agregar permiso de Docker a GitLab Runner

sudo usermod -aG docker gitlab-runner

Registrar runner

sudo gitlab-runner register \
  --non-interactive \
  --url "https://gitlab.com/" \
  --registration-token "<token>" \
  --name "AWS EC2" \
  --tag-list "" \
  --executor "docker" \
  --docker-image "docker:latest" \
  --docker-privileged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment