Build multiarch images for server (#821)

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
relnod
2022-03-01 16:40:24 +01:00
committed by GitHub
parent 09e6460f95
commit da99f47553
8 changed files with 76 additions and 44 deletions

View File

@@ -14,7 +14,7 @@ EXPOSE 3000
# copy certs from golang:1.16 image
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
# copy agent binary
COPY --from=build src/dist/woodpecker-agent /bin/
COPY --from=build /src/dist/woodpecker-agent /bin/
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
ENTRYPOINT ["/bin/woodpecker-agent"]