mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-10-20 05:57:51 +00:00
Add Docker image support with distroless container
- Dockerfile: distroless base (glibc) for CGO binary - GoReleaser: Docker build + push to ghcr.io/lukaszraczylo/filepuff-mcp - Cosign signing for Docker manifests
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
TODO.md
|
TODO.md
|
||||||
bin/mcp-filepuff
|
bin/mcp-filepuff
|
||||||
mcp-filepuff
|
mcp-filepuff
|
||||||
|
dist/
|
||||||
|
|||||||
@@ -109,6 +109,19 @@ release:
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
dockers:
|
||||||
|
- image_templates:
|
||||||
|
- "ghcr.io/lukaszraczylo/filepuff-mcp:{{ .Tag }}"
|
||||||
|
- "ghcr.io/lukaszraczylo/filepuff-mcp:latest"
|
||||||
|
ids:
|
||||||
|
- mcp-filepuff-cgo
|
||||||
|
use: buildx
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/amd64"
|
||||||
|
goarch: amd64
|
||||||
|
goos: linux
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
signs:
|
signs:
|
||||||
- cmd: cosign
|
- cmd: cosign
|
||||||
signature: "${artifact}.sigstore.json"
|
signature: "${artifact}.sigstore.json"
|
||||||
@@ -120,4 +133,13 @@ signs:
|
|||||||
artifacts: checksum
|
artifacts: checksum
|
||||||
output: true
|
output: true
|
||||||
|
|
||||||
|
docker_signs:
|
||||||
|
- cmd: cosign
|
||||||
|
artifacts: manifests
|
||||||
|
output: true
|
||||||
|
args:
|
||||||
|
- "sign"
|
||||||
|
- "--yes"
|
||||||
|
- "${artifact}"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
FROM gcr.io/distroless/base-debian12:nonroot
|
||||||
|
COPY mcp-filepuff /usr/local/bin/mcp-filepuff
|
||||||
|
ENTRYPOINT ["mcp-filepuff"]
|
||||||
Reference in New Issue
Block a user