Made autodeploy pipeline

This commit is contained in:
2026-05-19 14:35:04 +03:00
parent b17b43b17a
commit b6447cce63
10 changed files with 285 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY infra/webhook/ .
RUN go mod download && \
CGO_ENABLED=0 GOOS=linux go build -o webhook .
FROM alpine:3.19
RUN apk add --no-cache docker-cli ca-certificates
COPY --from=builder /app/webhook /webhook
EXPOSE 9001
ENTRYPOINT ["/webhook"]