dont pull drone image each launch
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
Restart = "always";
|
||||
ExecStartPre= ''
|
||||
-${pkgs.podman}/bin/podman stop %n \
|
||||
-${pkgs.podman}/bin/podman rm %n \
|
||||
${pkgs.podman}/bin/podman pull drone/drone:2.20.0
|
||||
${pkgs.podman}/bin/podman rm %n
|
||||
'';
|
||||
ExecStart= ''
|
||||
${pkgs.podman}/bin/podman run --rm --name %n \
|
||||
@@ -34,7 +33,7 @@
|
||||
--env=DRONE_RPC_PROTO=https \
|
||||
--env=DRONE_RPC_HOST=drone.cloonar.com \
|
||||
--env=DRONE_RUNNER_CAPACITY=2 \
|
||||
drone/drone-runner-podman:1.8.3
|
||||
drone/drone-runner-docker:1.8.3
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user