Skip to content

Instantly share code, notes, and snippets.

@asyncins
Last active June 30, 2020 16:35
Show Gist options
  • Save asyncins/67eb512267acf5c61210d79fb924a3e0 to your computer and use it in GitHub Desktop.
Save asyncins/67eb512267acf5c61210d79fb924a3e0 to your computer and use it in GitHub Desktop.
[GitLab Runner Docker]

在 docker 里安装 gitlab runner,并将 runner 注册到 gitlab 中

gitlab-runner register \
  --non-interactive \
  --executor "docker" \
  --docker-image alpine:latest \
  --url "http://121.36.22.204/" \
  --registration-token "zHkqsD2ffFHNioqkG5r4" \
  --description "docker-runner" \
  --tag-list "docker,aws" \
  --run-untagged="true" \
  --locked="false" \
  --access-level="not_protected"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment