feat: initial gitea-k3s-deployer service, web UI, tests, and K3s/Depot manifests
Build and Push Image / build (push) Failing after 5s
Build and Push Image / build (push) Failing after 5s
This commit is contained in:
commit
bf229aeed2
23 files changed
+2702
No files matched your search
+12
@@ -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"]
|
||||
Reference in new issue
Block a user