add more platforms do a docker bot

This commit is contained in:
kulikov0 committed 2026-05-10 18:53:24 +02:00
1 parent 801c732824
commit a1522f7223
2 files changed
+7 -2

No files matched your search

+4 -2
View File
@@ -1,5 +1,7 @@
FROM golang:1.26-bookworm AS build
ENV CGO_ENABLED=0
FROM --platform=$BUILDPLATFORM golang:1.26-bookworm AS build
ARG TARGETOS
ARG TARGETARCH
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH
WORKDIR /src
COPY relay /src/relay