Fix build output paths (#3065)

closes https://github.com/woodpecker-ci/woodpecker/issues/1766
This commit is contained in:
qwerty287
2023-12-29 20:30:20 +01:00
committed by GitHub
parent 7080d133a2
commit af513b5a30
3 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ ENV XDG_CACHE_HOME=/var/lib/woodpecker
ENV XDG_DATA_HOME=/var/lib/woodpecker
EXPOSE 8000 9000 80 443
COPY dist/server/${TARGETOS}/${TARGETARCH}/woodpecker-server /bin/
COPY dist/server/${TARGETOS}_${TARGETARCH}/woodpecker-server /bin/
HEALTHCHECK CMD ["/bin/woodpecker-server", "ping"]
ENTRYPOINT ["/bin/woodpecker-server"]

View File

@@ -12,7 +12,7 @@ EXPOSE 8000 9000 80 443
# copy certs from certs image
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# copy server binary
COPY dist/server/${TARGETOS}/${TARGETARCH}/woodpecker-server /bin/
COPY dist/server/${TARGETOS}_${TARGETARCH}/woodpecker-server /bin/
HEALTHCHECK CMD ["/bin/woodpecker-server", "ping"]
ENTRYPOINT ["/bin/woodpecker-server"]