ci: use node:20-alpine with docker-cli socket mount - fix node not found in dind
This commit is contained in:
parent
caf541d750
commit
2df0fb190b
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue