ci
This commit is contained in:
parent
d7a95529cb
commit
150cce5858
1 changed files with 16 additions and 0 deletions
|
|
@ -11,9 +11,25 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_HOST: tcp://dind:2375
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
services:
|
||||||
|
dind:
|
||||||
|
image: docker:dind
|
||||||
|
env:
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install docker CLI
|
||||||
|
run: apk add --no-cache docker-cli || apt-get install -y docker.io || true
|
||||||
|
|
||||||
|
- name: Wait for Docker daemon
|
||||||
|
run: |
|
||||||
|
until docker info >/dev/null 2>&1; do sleep 1; done
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.FORGE_TOKEN }}" \
|
echo "${{ secrets.FORGE_TOKEN }}" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue