ci: switch to kaniko for daemonless build
Build MCP Services / build-mcp-filesystem (push) Successful in 1m14s
Details
Build MCP Services / build-mcp-filesystem (push) Successful in 1m14s
Details
This commit is contained in:
parent
b636076855
commit
064dcab2af
|
|
@ -4,16 +4,22 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build-mcp-filesystem:
|
build-mcp-filesystem:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_HOST: tcp://172.17.0.1:2375
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Build and push MCP Filesystem (Kaniko)
|
||||||
uses: docker/setup-buildx-action@v2
|
run: |
|
||||||
|
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||||
|
echo "Using volumes from: $JOB_CONTAINER"
|
||||||
|
|
||||||
- name: Build and push MCP Filesystem
|
docker run --rm \
|
||||||
uses: docker/build-push-action@v4
|
--volumes-from "$JOB_CONTAINER" \
|
||||||
with:
|
gcr.io/kaniko-project/executor:latest \
|
||||||
context: ./tools-mcp/mcp-filesystem
|
--context=dir:///workspace/deepkoluguri/agentic-os/tools-mcp/mcp-filesystem \
|
||||||
push: true
|
--dockerfile=Dockerfile \
|
||||||
tags: 192.168.8.250:5000/agentic-os/mcp-filesystem:latest
|
--destination=192.168.8.250:5000/agentic-os/mcp-filesystem:latest \
|
||||||
|
--insecure \
|
||||||
|
--skip-tls-verify
|
||||||
Loading…
Reference in New Issue