Synology: Bitbucket Runner

docker container run -d \
-v /var/packages/ContainerManager/var/docker/tmp:/tmp \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/packages/ContainerManager/var/docker/containers:/var/lib/docker/containers:ro \
-e ACCOUNT_UUID={xxx} \
-e RUNNER_UUID={xxx} \
-e RUNTIME_PREREQUISITES_ENABLED=true \
-e OAUTH_CLIENT_ID=xxx \
-e OAUTH_CLIENT_SECRET=xxx \
-e WORKING_DIRECTORY=/tmp \
--name runner-xxx \
docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *