next try...
ci/woodpecker/push/compliance-and-tests Pipeline is pending Details
ci/woodpecker/push/release-version Pipeline is pending Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful Details
ci/woodpecker/tag/release-version Pipeline failed Details

ci-optimization
gapodo 2022-12-05 01:54:28 +01:00
parent 7599887d44
commit 6d174776dc
1 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,9 @@ RUN addgroup \
git && \ git && \
echo "git:*" | chpasswd -e echo "git:*" | chpasswd -e
RUN apk --no-cache add xz upx bash RUN apk --no-cache add xz upx bash && \
mkdir -p /docker/bin && \
mkdir /dist
ENV USER git ENV USER git
@ -20,11 +22,10 @@ ARG DEFAULTTAGNAME
ARG CI_COMMIT_TAG ARG CI_COMMIT_TAG
ENV DEFAULTTAGNAME=${DEFAULTTAGNAME:-main} ENV DEFAULTTAGNAME=${DEFAULTTAGNAME:-main}
COPY docker /docker COPY ./docker /docker
COPY dist /dist COPY ./dist /dist
RUN mkdir /docker/bin && \ RUN /docker/map-binaries.sh /dist/binaries "true" forgejo ${CI_COMMIT_TAG##v} && \
/docker/map-binaries.sh /dist/binaries "true" forgejo ${CI_COMMIT_TAG##v} && \
/docker/map-binaries.sh /dist/contrib "false" environment-to-ini ${CI_COMMIT_TAG##v} /docker/map-binaries.sh /dist/contrib "false" environment-to-ini ${CI_COMMIT_TAG##v}
RUN chmod 755 /docker/root/usr/bin/entrypoint /docker/root/etc/s6/gitea/* /docker/root/etc/s6/openssh/* /docker/root/etc/s6/.s6-svscan/* && \ RUN chmod 755 /docker/root/usr/bin/entrypoint /docker/root/etc/s6/gitea/* /docker/root/etc/s6/openssh/* /docker/root/etc/s6/.s6-svscan/* && \