diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1fded08..38bed3e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,9 +11,25 @@ env: jobs: build: 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: - 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 run: | echo "${{ secrets.FORGE_TOKEN }}" \