y
ci/woodpecker/push/release-version Pipeline failed
Details
ci/woodpecker/push/release-version Pipeline failed
Details
parent
1f3f7bf9c6
commit
91be6bb367
|
@ -16,7 +16,7 @@ ENV CI_REPO_CLONE_URL "${CI_REPO_CLONE_URL}"
|
|||
ARG OUT
|
||||
ENV OUT "${OUT:-/out-bins}"
|
||||
ARG DR
|
||||
ENV DR "${DR:-"/docker/root"}"
|
||||
ENV DR "${DR:-/docker/root}"
|
||||
|
||||
# Copying the arch specific binaries to the path easily accessible in the next step and rename them to gitea
|
||||
COPY --chmod=755 tmp-bin/release/forgejo-$TAG-linux-amd64 "${OUT}/linux/amd64/gitea"
|
||||
|
@ -51,7 +51,7 @@ RUN test -n "$CI_COMMIT_SHA" || (echo "CI_COMMIT_SHA is required but not set" >&
|
|||
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}/" && \
|
||||
cp -a "/build/docker/root/." "${DR}/" && \
|
||||
echo "Fixing permissions" && \
|
||||
chmod 755 "${DR}/usr/bin/entrypoint" "${DR}/usr/local/bin/gitea" "${DR}/etc/s6/gitea/*" "${DR}/etc/s6/openssh/*" "${DR}/etc/s6/.s6-svscan/*" && \
|
||||
echo "removing git repo" && \
|
||||
|
|
Loading…
Reference in New Issue