specify GOOS and GOARCH for dockerfile compatible binary

This commit is contained in:
Elio Bischof
2022-07-20 14:40:30 +02:00
parent 18364cc00a
commit 0f379f2db7

View File

@@ -29,7 +29,7 @@ shift "$(($OPTIND -1))"
if [ "$DO_BUILD" -eq "1" ]; then
# build the zitadel binary
goreleaser build --snapshot --single-target --rm-dist
GOOS="linux" GOARCH="amd64" goreleaser build --snapshot --single-target --rm-dist
fi
# extract some metadata for building and tagging the docker image