use network for docker
This commit is contained in:
parent
104f41fb62
commit
21825acc50
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue