b
ci/woodpecker/push/release-version Pipeline failed Details

minimal-dockerfile
gapodo 2022-12-08 02:30:10 +01:00
parent d3b788b1ea
commit 5b4108825e
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,6 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
echo "Preparin out directories ${OUT}" && \ echo "Preparin out directories ${OUT}" && \
mkdir -p "${OUT}/linux/amd64" && \ mkdir -p "${OUT}/linux/amd64" && \
mkdir -p "${OUT}/linux/arm64" && \ mkdir -p "${OUT}/linux/arm64" && \
echo "Creating docker root prep dir ${DR}" && \
mkdir -p "${DR}" && \
echo "Creating build dir" && \ echo "Creating build dir" && \
mkdir /build && \ mkdir /build && \
cd /build && \ cd /build && \
@ -50,6 +48,9 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
echo "compiling for linux/arm64" && \ echo "compiling for linux/arm64" && \
CGO_ENABLED=0 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 / && \ cd / && \
ls -la /* && \
echo "Creating docker root prep dir ${DR}" && \
mkdir -p "${DR}" && \
echo "Copying future root addons" && \ echo "Copying future root addons" && \
ls -la "/build/docker/root/*" && \ ls -la "/build/docker/root/*" && \
cp -a "/build/docker/root/." "${DR}/" && \ cp -a "/build/docker/root/." "${DR}/" && \