ci: use node:20-alpine with docker-cli socket mount - fix node not found in dind
Some checks failed
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Failing after 10s
CI/CD → Deploy via SSH / Deploy via SSH (push) Has been skipped
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Has been skipped

This commit is contained in:
MatheusAlves96 2026-04-21 01:09:27 -03:00
parent caf541d750
commit 2df0fb190b

View file

@ -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