gitlab ci部署指导

  • 部署gitlab-runner
    • Create the Docker volume
    • docker volume create gitlab-runner-config
    • Start the GitLab Runner container using the volume we just created
    • docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest
    • 参考:https://docs.gitlab.com/runner/install/docker.html
上一篇:中石油大学 11117 八目鳗 贪心 + 排序


下一篇:【CI/CD】docker部署Jenkins