fix ordering
ci/woodpecker/push/release-version Pipeline failed
Details
ci/woodpecker/push/release-version Pipeline failed
Details
parent
9d1ca7c8d7
commit
545d0040e0
|
@ -1,5 +1,5 @@
|
|||
FROM --platform=$BUILDPLATFORM golang:1.19 AS build-env
|
||||
ARG BUILDPLATFORM
|
||||
FROM --platform=$BUILDPLATFORM golang:1.19 AS build-env
|
||||
|
||||
ARG GOPROXY
|
||||
ENV GOPROXY "${GOPROXY:-direct}"
|
||||
|
@ -47,9 +47,9 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
|
|||
export ENV2INI="environment-to-ini" && \
|
||||
export GOFILE="contrib/$ENV2INI/$ENV2INI.go" && \
|
||||
echo "compiling for linux/amd64" && \
|
||||
GOOS=linux GOARCH=amd64 go build -o "${OUT}/linux/amd64/$ENV2INI" "${GOFILE}" && \
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o "${OUT}/linux/amd64/$ENV2INI" "${GOFILE}" && \
|
||||
echo "compiling for linux/arm64" && \
|
||||
GOOS=linux GOARCH=arm64 go build -o "${OUT}/linux/arm64/$ENV2INI" "${GOFILE}" && \
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o "${OUT}/linux/arm64/$ENV2INI" "${GOFILE}" && \
|
||||
cd / && \
|
||||
echo "Copying future root addons" && \
|
||||
cp -r "/build/docker/root/*" "${DR}/" && \
|
||||
|
|
Loading…
Reference in New Issue