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
|
name: Build & Push Docker Images
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker:27-dind
|
image: node:20-alpine
|
||||||
env:
|
|
||||||
DOCKER_TLS_CERTDIR: ""
|
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: apk add --no-cache git
|
run: apk add --no-cache git docker-cli
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -73,7 +73,7 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: build
|
needs: build
|
||||||
container:
|
container:
|
||||||
image: alpine:3.19
|
image: node:20-alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install SSH tools
|
- name: Install SSH tools
|
||||||
|
|
@ -136,7 +136,7 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [build, deploy]
|
needs: [build, deploy]
|
||||||
container:
|
container:
|
||||||
image: alpine:3.19
|
image: node:20-alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue