fix: use node:20-alpine + apk install docker-cli for Node.js + Docker
CI/CD / build-and-push (push) Failing after 10s

This commit is contained in:
2026-04-13 16:18:59 +00:00
parent 3241b8a638
commit cfeb404907
+4 -1
View File
@@ -16,7 +16,7 @@ jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: docker:24-cli image: node:20-alpine
env: env:
DOCKER_HOST: tcp://localhost:2375 DOCKER_HOST: tcp://localhost:2375
DOCKER_TLS_VERIFY: "0" DOCKER_TLS_VERIFY: "0"
@@ -26,6 +26,9 @@ jobs:
with: with:
ssl-verify: false ssl-verify: false
- name: Install Docker CLI
run: apk add --no-cache docker-cli
- name: Set image tag - name: Set image tag
id: tag id: tag
run: echo "TAG=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT run: echo "TAG=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT