From 21825acc5053dc8f26dbffe647c4d47814b8b446 Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 13 Jan 2025 21:09:13 +0100 Subject: [PATCH] use network for docker --- .forgejo/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index f539476..ba1cca9 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -2,12 +2,14 @@ name: build docker image on: workflow_dispatch: +env: + DOCKER_HOST: tcp://10.0.0.117:12375 + jobs: build: runs-on: docker container: image: docker.io/alpine:3.21.2 - options: "--volume /run/user/1001/podman/podman.sock:/var/run/docker.sock" steps: - run: apk update && apk add --no-cache nodejs git docker - uses: actions/checkout@v4