This commit is contained in:
parent
4014188ad1
commit
e69b1cd7db
1 changed files with 4 additions and 2 deletions
|
@ -13,7 +13,7 @@ jobs:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
options: --privileged --shm-size=2g
|
options: --privileged --shm-size=2g
|
||||||
ports:
|
ports:
|
||||||
- 2375:2375
|
- 12375:2375
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@ 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:2375
|
||||||
|
docker context use forgejo
|
||||||
|
|
||||||
- name: Log in to Forgejo container registry
|
- name: Log in to Forgejo container registry
|
||||||
uses: https://github.com/docker/login-action@v3
|
uses: https://github.com/docker/login-action@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue