Fixed deploy pipeline
Build and Deploy / build-and-deploy (push) Failing after 3m8s

This commit is contained in:
2026-05-21 08:34:41 +03:00
parent c64f086393
commit 2ec65f8223
2 changed files with 6 additions and 11 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ 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
FROM scratch
COPY --from=builder /app/webhook /webhook
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
EXPOSE 9001
ENTRYPOINT ["/webhook"]