fix: revert to volumes with from_secret syntax, drop DIND
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
da33cc68d6
commit
08e6645662
1 changed files with 8 additions and 8 deletions
|
|
@ -5,8 +5,9 @@ when:
|
||||||
steps:
|
steps:
|
||||||
build-forgejo:
|
build-forgejo:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
|
||||||
FORGEJO_REGISTRY_TOKEN:
|
FORGEJO_REGISTRY_TOKEN:
|
||||||
from_secret: forgejo_registry_token
|
from_secret: forgejo_registry_token
|
||||||
commands:
|
commands:
|
||||||
|
|
@ -16,8 +17,9 @@ steps:
|
||||||
|
|
||||||
build-woodpecker:
|
build-woodpecker:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
|
||||||
FORGEJO_REGISTRY_TOKEN:
|
FORGEJO_REGISTRY_TOKEN:
|
||||||
from_secret: forgejo_registry_token
|
from_secret: forgejo_registry_token
|
||||||
commands:
|
commands:
|
||||||
|
|
@ -27,8 +29,9 @@ steps:
|
||||||
|
|
||||||
build-semaphore:
|
build-semaphore:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
|
||||||
FORGEJO_REGISTRY_TOKEN:
|
FORGEJO_REGISTRY_TOKEN:
|
||||||
from_secret: forgejo_registry_token
|
from_secret: forgejo_registry_token
|
||||||
commands:
|
commands:
|
||||||
|
|
@ -38,15 +41,12 @@ steps:
|
||||||
|
|
||||||
build-github:
|
build-github:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
|
||||||
FORGEJO_REGISTRY_TOKEN:
|
FORGEJO_REGISTRY_TOKEN:
|
||||||
from_secret: forgejo_registry_token
|
from_secret: forgejo_registry_token
|
||||||
commands:
|
commands:
|
||||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-github:latest -f github/Dockerfile github/
|
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-github:latest -f github/Dockerfile github/
|
||||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-github:latest
|
- docker push forgejo.corentic.eu/corentic/mcp-fleet-github:latest
|
||||||
|
|
||||||
services:
|
|
||||||
docker:
|
|
||||||
image: docker:27-dind
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue