Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Gitlab docker runner registration

docker run --rm -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner register 
  --non-interactive 
  --executor "docker" 
  --docker-image alpine:latest 
  --url "http://gitlab.mczaiyun.top/" 
  --registration-token "vtizNrFzQKFacsSMxsJX" 
  --description "first-register-runner" 
  --tag-list "test-cicd1,dockercicd1" 
  --run-untagged="true" 
  --locked="false" 
  --access-level="not_protected"
Source by www.bilibili.com #
 
PREVIOUS NEXT
Tagged: #Gitlab #docker #runner #registration
ADD COMMENT
Topic
Name
3+9 =