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:
|
||||
build-forgejo:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
FORGEJO_REGISTRY_TOKEN:
|
||||
from_secret: forgejo_registry_token
|
||||
commands:
|
||||
|
|
@ -16,8 +17,9 @@ steps:
|
|||
|
||||
build-woodpecker:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
FORGEJO_REGISTRY_TOKEN:
|
||||
from_secret: forgejo_registry_token
|
||||
commands:
|
||||
|
|
@ -27,8 +29,9 @@ steps:
|
|||
|
||||
build-semaphore:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
FORGEJO_REGISTRY_TOKEN:
|
||||
from_secret: forgejo_registry_token
|
||||
commands:
|
||||
|
|
@ -38,15 +41,12 @@ steps:
|
|||
|
||||
build-github:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
FORGEJO_REGISTRY_TOKEN:
|
||||
from_secret: forgejo_registry_token
|
||||
commands:
|
||||
- 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 push forgejo.corentic.eu/corentic/mcp-fleet-github:latest
|
||||
|
||||
services:
|
||||
docker:
|
||||
image: docker:27-dind
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue