mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 04:29:48 +00:00
Fix build output paths (#3065)
closes https://github.com/woodpecker-ci/woodpecker/issues/1766
This commit is contained in:
@@ -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"]
|
||||
|
@@ -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"]
|
||||
|
Reference in New Issue
Block a user