Don't bind docker socket in CI

Use dind instead, as it's more secure and isolated

https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker
This commit is contained in:
Jake Howard 2022-07-28 17:40:11 +01:00
parent e65b3ec605
commit 6d7a147b74
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -16,5 +16,5 @@ check_interval = 10
image = "alpine"
privileged = true
disable_cache = false
volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock:ro"]
volumes = ["/cache", "/certs/client"]
pull_policy = "if-not-present"