From a71640dd9f3ab0e20e86b67c0fac303188df8b0a Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:23:02 +0100 Subject: [PATCH] rootless --- .gitea/workflows/test-compose.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 0e4b740..f83f482 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -5,7 +5,7 @@ on: [pull_request] jobs: unit-test: container: - image: docker:dind + image: docker:dind-rootless steps: - name: Installing node run: apk add nodejs git curl bash @@ -13,7 +13,5 @@ jobs: uses: actions/checkout@v3 - name: Install Bun runtime run: curl -fsSL https://bun.sh/install | bash - - name: Be root - run: su - name: Run docker-compose run: dind compose down -v && dind compose run bot-api bun test \ No newline at end of file