From 2df0fb190b0fd0b2117bd43a7b65f24ee11d9a5a Mon Sep 17 00:00:00 2001 From: MatheusAlves96 Date: Tue, 21 Apr 2026 01:09:27 -0300 Subject: [PATCH] ci: use node:20-alpine with docker-cli socket mount - fix node not found in dind --- .forgejo/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index ce2fb1c..0a73e62 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -18,14 +18,14 @@ jobs: name: Build & Push Docker Images runs-on: docker container: - image: docker:27-dind - env: - DOCKER_TLS_CERTDIR: "" + image: node:20-alpine options: --privileged + volumes: + - /var/run/docker.sock:/var/run/docker.sock steps: - name: Install git - run: apk add --no-cache git + run: apk add --no-cache git docker-cli - name: Checkout uses: actions/checkout@v4 @@ -73,7 +73,7 @@ jobs: runs-on: docker needs: build container: - image: alpine:3.19 + image: node:20-alpine steps: - name: Install SSH tools @@ -136,7 +136,7 @@ jobs: runs-on: docker needs: [build, deploy] container: - image: alpine:3.19 + image: node:20-alpine steps: - name: Install tools