correct bin path (#402)

This commit is contained in:
Anbraten 2021-10-04 21:45:01 +02:00 committed by GitHub
parent 2084ff3a62
commit 78c977f3b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ FROM scratch
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENV GODEBUG=netdns=go
ADD release/woodpecker-agent /bin/
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]

View file

@ -4,7 +4,7 @@ FROM alpine:3.14
RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go
ADD release/woodpecker-agent /bin/
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]

View file

@ -15,6 +15,6 @@ ENV WOODPECKER_DATABASE_DATASOURCE=/var/lib/drone/drone.sqlite
ENV WOODPECKER_DATABASE_DRIVER=sqlite3
ENV XDG_CACHE_HOME=/var/lib/drone
ADD release/woodpecker-server /bin/
ADD dist/server/linux_amd64/woodpecker-server /bin/
ENTRYPOINT ["/bin/woodpecker-server"]

View file

@ -10,6 +10,6 @@ ENV WOODPECKER_DATABASE_DATASOURCE=/var/lib/drone/drone.sqlite
ENV WOODPECKER_DATABASE_DRIVER=sqlite3
ENV XDG_CACHE_HOME=/var/lib/drone
ADD release/woodpecker-server /bin/
ADD dist/server/linux_amd64/woodpecker-server /bin/
ENTRYPOINT ["/bin/woodpecker-server"]