actions: runner [container].docker_host variations
* automount * "" or "-" * unix:///var/run/docker.sock * tcp://127.0.0.1:2375
This commit is contained in:
parent
801c760a4e
commit
33749f5a5e
16 changed files with 158 additions and 0 deletions
11
actions/example-with-docker-tcp/.forgejo/workflows/test.yml
Normal file
11
actions/example-with-docker-tcp/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.forgejo.org/oci/node:20-bookworm
|
||||
steps:
|
||||
- run: |
|
||||
! test -e /var/run/docker.sock
|
||||
! env | grep DOCKER_HOST
|
Loading…
Add table
Reference in a new issue