fix: use node:20-alpine + apk install docker-cli for Node.js + Docker
CI/CD / build-and-push (push) Failing after 10s
CI/CD / build-and-push (push) Failing after 10s
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:24-cli
|
||||
image: node:20-alpine
|
||||
env:
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
DOCKER_TLS_VERIFY: "0"
|
||||
@@ -26,6 +26,9 @@ jobs:
|
||||
with:
|
||||
ssl-verify: false
|
||||
|
||||
- name: Install Docker CLI
|
||||
run: apk add --no-cache docker-cli
|
||||
|
||||
- name: Set image tag
|
||||
id: tag
|
||||
run: echo "TAG=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user