update dockerfile
Build and Publish / BuildAndDeployArm64 (push) Failing after 6s
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled

This commit is contained in:
2026-06-17 22:49:13 +02:00
parent 74dc252279
commit 2545be4315
+4 -1
View File
@@ -22,7 +22,10 @@
############################ ############################
# Build Stage # Build Stage
############################ ############################
FROM golang:1.26-alpine AS build # Run the Go toolchain on the NATIVE build platform and cross-compile to the
# target via GOOS/GOARCH below — avoids emulating an amd64 toolchain on arm64
# hosts (QEMU segfaults during module download). No-op when build==target.
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS build
WORKDIR /src WORKDIR /src
RUN apk add --no-cache git RUN apk add --no-cache git