Updated docker_host to localhost
Some checks failed
/ build-and-deploy (push) Failing after 18s

This commit is contained in:
Jeremy Karst 2026-05-06 23:20:58 -04:00
parent 4419af4d48
commit 54870364e9
2 changed files with 5 additions and 7 deletions

View file

@ -1,13 +1,12 @@
on:
push:
branches:
- master
jobs:
build-and-deploy:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
runs-on: self-hosted
env:
DOCKER_HOST: tcp://172.17.0.1:2376
DOCKER_HOST: tcp://localhost:2376
container:
image: catthehacker/ubuntu:act-latest
options: --network host

View file

@ -168,14 +168,13 @@ With everything in place, the workflow builds the image, pushes it to the regist
```yaml
on:
push:
branches:
- main
jobs:
build-and-deploy:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
runs-on: self-hosted
env:
DOCKER_HOST: tcp://172.17.0.1:2376
DOCKER_HOST: tcp://localhost:2376
container:
image: catthehacker/ubuntu:act-latest
options: --network host