tools/scripts/gitlab-ce-runner.sh
2023-02-23 23:38:31 -05:00

9 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/gitlab/runner/config &&
chmod -Rf 777 /var/lib/docker/storage/gitlab/runner/config
docker run -d --name gitlab-runner --restart always \
-v /var/lib/docker/storage/gitlab/runner/config:/etc/gitlab-runner \
-v /var/run/docker.sock:/var/run/docker.sock \
registry.casjay.in/latest/gitlab-runner:latest