Skip to content

Commit 477be20

Browse files
committed
forgejo: runner simplify
1 parent 2cbaa06 commit 477be20

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

manifests/apps/by-cluster/rgst/forgejo.jsonnet

+2-9
Original file line numberDiff line numberDiff line change
@@ -228,18 +228,11 @@ local all = {
228228
containers: [{
229229
name: 'runner',
230230
image: 'code.forgejo.org/forgejo/runner:6.2.2',
231-
command: ['/bin/bash', '-euo', 'pipefail', '-c'],
232-
args: [
233-
|||
234-
touch /var/run/docker.sock
235-
mount -o ro,bind /docker-socket/docker.sock /var/run/docker.sock
236-
exec forgejo-runner daemon
237-
|||,
238-
],
231+
args: ['daemon'],
239232
volumeMounts: [
240233
{
241234
name: 'docker-socket',
242-
mountPath: '/docker-sock/',
235+
mountPath: '/var/run',
243236
},
244237
{
245238
name: 'runner-data',

0 commit comments

Comments
 (0)