fix: Changes Docker image and switches back to using ports.
Some checks failed
Release code / build (push) Has been cancelled
Some checks failed
Release code / build (push) Has been cancelled
This commit is contained in:
parent
8527354423
commit
5efb75d49d
1 changed files with 4 additions and 2 deletions
|
@ -10,8 +10,10 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
services:
|
services:
|
||||||
dind:
|
dind:
|
||||||
image: docker:dind
|
image: docker:dind-rootless
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
ports:
|
||||||
|
- 12375:2375
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
|
@ -23,7 +25,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://dind:2375
|
docker context create forgejo --docker host=tcp://0.0.0.0:12375
|
||||||
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