From 4bb0e5b996a7a88138b57289458f7b98f64b9adf Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 5 Dec 2024 18:18:57 +0100 Subject: [PATCH] Fix permission issue --- scripts/Common/Software/docker/services/drone/main.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Software/docker/services/drone/main.fish b/scripts/Common/Software/docker/services/drone/main.fish index 2cde1bc7..0a910ec9 100755 --- a/scripts/Common/Software/docker/services/drone/main.fish +++ b/scripts/Common/Software/docker/services/drone/main.fish @@ -19,7 +19,7 @@ begin echo "{}" | sudo tee "$config" >/dev/null echo "{}" | sudo tee "$overrides" >/dev/null - cp "$dir"/{ci.Dockerfile,docker-compose.core.yml,.dockerignore} "$root" + sudo cp "$dir"/{ci.Dockerfile,docker-compose.core.yml,.dockerignore} "$root" echo "DRONE_JSONNET_ENABLED=true" | sudo tee "$root/server.common.env" >/dev/null echo "DRONE_RUNNER_CAPACITY=2" | sudo tee "$root/runner.common.env" >/dev/null