feat: initial gitea-k3s-deployer service, web UI, tests, and K3s/Depot manifests
Build and Push Image / build (push) Failing after 5s

This commit is contained in:
nandi committed 2026-11-17 21:11:30 +00:00
commit bf229aeed2
23 files changed
+2702

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
FROM golang:1.24-bookworm AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o /out/deployer ./cmd/deployer
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=builder /out/deployer /deployer
EXPOSE 8080
USER 65532:65532
ENTRYPOINT ["/deployer"]