GitLab CI-CD with GitLab-Runner
Run GitLab-Runner in container for GitLab CI/CD.
1. Run GitLab Runner with Podman
Section titled “1. Run GitLab Runner with Podman”podman run --detach \ --privileged \ --name gitlab-runner \ --network host \ -v ${PWD}/config:/etc/gitlab-runner:z \ docker.io/gitlab/gitlab-runner:latest2. Register Runner in container
Section titled “2. Register Runner in container”podman exec -it gitlab-runner gitlab-runner registerConfig the runner with instructions.
[1]. https://docs.gitlab.com/runner/
[2]. https://zhuanlan.zhihu.com/p/385110311