more missing quotes
ci/woodpecker/push/release-version Pipeline failed Details

minimal-dockerfile
gapodo 2022-12-08 01:14:34 +01:00
parent adc622cee9
commit ed76f13438
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ RUN echo "setting up git" && \
git config --global init.defaultBranch dummy && \
git config --global advice.detachedHead false && \
git init && \
git remote add origin ${CI_REPO_CLONE_URL} && \
git remote add origin "${CI_REPO_CLONE_URL}" && \
# shallow clone as we just need the current data, keeps the "clone" really small
git fetch --depth 1 origin ${CI_COMMIT_SHA} && \
git checkout FETCH_HEAD && \
@ -54,9 +54,9 @@ RUN echo "setting up git" && \
GOOS=linux GOARCH=arm64 go build -o "${OUT}/linux/arm64/$ENV2INI" "${GOFILE}" && \
cd / && \
echo "Copying future root addons" && \
cp -r /build"${DR}/* "${DR}/ && \
cp -r "/build/${DR}/" "${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/* && \
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" && \
rm -Rf /build && \
echo "removing go cached files" && \