use network for docker

This commit is contained in:
lookshe 2025-01-13 21:09:13 +01:00
parent 104f41fb62
commit 21825acc50

View file

@ -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