fix: Attempts to use local Docker networking instead of exposed ports.
Some checks failed
Release code / build (push) Failing after 1m44s
Some checks failed
Release code / build (push) Failing after 1m44s
This commit is contained in:
parent
fc0adcc663
commit
8527354423
1 changed files with 2 additions and 4 deletions
|
@ -11,9 +11,7 @@ jobs:
|
||||||
services:
|
services:
|
||||||
dind:
|
dind:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
options: --privileged --shm-size=2g
|
options: --privileged
|
||||||
ports:
|
|
||||||
- 12375:2375
|
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
|
@ -25,7 +23,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt-get install -y docker.io
|
apt-get install -y docker.io
|
||||||
docker context create forgejo --docker host=tcp://127.0.0.1:12375
|
docker context create forgejo --docker host=tcp://dind:2375
|
||||||
docker context use forgejo
|
docker context use forgejo
|
||||||
|
|
||||||
- name: Log in to Forgejo container registry
|
- name: Log in to Forgejo container registry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue