feat: add portainer-mcp Docker image + CI build step
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
08e6645662
commit
e943f9a0e9
2 changed files with 13 additions and 1 deletions
|
|
@ -39,6 +39,18 @@ steps:
|
|||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-semaphore:latest -f semaphore/Dockerfile semaphore/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-semaphore:latest
|
||||
|
||||
build-portainer:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
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-portainer:latest -f portainer/Dockerfile portainer/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-portainer:latest
|
||||
|
||||
build-github:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
python3 python3-pip python3-venv \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install --no-cache-dir portainer-mcp && \
|
||||
RUN pip3 install --no-cache-dir --break-system-packages portainer-mcp && \
|
||||
npm install -g mcp-proxy@6.5.2
|
||||
|
||||
ENV PORTAINER_VERIFY_SSL=false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue