From ee86c902f391de497d67468d81ab890c40ce93c5 Mon Sep 17 00:00:00 2001 From: Jeremy PLANCKEEL Date: Wed, 4 Mar 2026 09:14:47 +0100 Subject: [PATCH] feat: add build multiplatform --- .ko.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .ko.yaml diff --git a/.ko.yaml b/.ko.yaml new file mode 100644 index 0000000..34d23bc --- /dev/null +++ b/.ko.yaml @@ -0,0 +1,16 @@ +# Ko configuration for multi-architecture builds +defaultPlatforms: + - linux/amd64 + - linux/arm64 + +# Base image (distroless for security and small size) +defaultBaseImage: gcr.io/distroless/static-debian11:nonroot + +# Build settings +builds: + - id: tracker-slack + main: . + env: + - CGO_ENABLED=0 + ldflags: + - -s -w