From 810fd2aed1cd0d7248d2aac8a3baf6e4d4683323 Mon Sep 17 00:00:00 2001 From: Sugui Date: Mon, 1 Jan 2024 15:59:36 +0100 Subject: [PATCH] Testing docker-init in container's cmd parameter --- .gitea/workflows/test.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 7c64ca0..6d0427f 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -6,9 +6,8 @@ jobs: unit-test: container: image: docker:dind + cmd: "docker-init -- dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2376 --tlsverify --tlscacert /certs/server/ca.pem --tlscert /certs" steps: - - name: Starting docker daemon - run: docker-init -- dockerd --host=unix:///var/run/docker.sock & - name: Installing necessary packages run: apk add npm git curl bash - name: Check out repository code