1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| $ docker exec -it $(docker ps | grep 'gitlab/gitlab-runner' | awk '{print $1}') gitlab-runner register Enter the GitLab instance URL (for example, https://gitlab.com/): https://git.mydomain.com/ Enter the registration token: xxxxxxxxxxxxxxxx Enter a description for the runner: [xxxx]: xxxxxx Enter tags for the runner (comma-separated): docker,linux Registering runner... succeeded runner=xxxx Enter an executor: custom, docker+machine, docker-ssh+machine, kubernetes, virtualbox, docker, docker-ssh, parallels, shell, ssh: docker Enter the default Docker image (for example, ruby:2.6): busybox Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!
|