dind and install node ?
This commit is contained in:
parent
3770f74237
commit
14260f2de1
1 changed files with 11 additions and 6 deletions
|
|
@ -5,6 +5,7 @@ on:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'containers/${{ github.workflow }}/**'
|
- 'containers/${{ github.workflow }}/**'
|
||||||
|
- 'containers/.forgejo/workflows/ansible.yml'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 20 * * 5'
|
- cron: '0 20 * * 5'
|
||||||
|
|
@ -18,12 +19,14 @@ jobs:
|
||||||
- ${{ matrix.arch }}
|
- ${{ matrix.arch }}
|
||||||
- docker
|
- docker
|
||||||
container:
|
container:
|
||||||
image: alpine:edge
|
image: docker:dind
|
||||||
|
env:
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
steps:
|
steps:
|
||||||
- name: Install Docker and Node.js
|
- name: Install Node.js and dependencies
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add --no-cache docker docker-compose nodejs npm git bash
|
apk add --no-cache nodejs npm git bash
|
||||||
dockerd &
|
dockerd &
|
||||||
sleep 5
|
sleep 5
|
||||||
docker version
|
docker version
|
||||||
|
|
@ -62,12 +65,14 @@ jobs:
|
||||||
needs: build-and-push
|
needs: build-and-push
|
||||||
runs-on: amd64
|
runs-on: amd64
|
||||||
container:
|
container:
|
||||||
image: alpine:edge
|
image: docker:dind
|
||||||
|
env:
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
steps:
|
steps:
|
||||||
- name: Install Docker and Node.js
|
- name: Install Node.js and dependencies
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add --no-cache docker docker-compose nodejs npm git bash
|
apk add --no-cache nodejs npm git bash
|
||||||
dockerd &
|
dockerd &
|
||||||
sleep 5
|
sleep 5
|
||||||
docker version
|
docker version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue