2023-07-04 23:33:06 +02:00
|
|
|
FROM --platform=$BUILDPLATFORM golang:1.20@sha256:7954299532c2a54dd5d68d81a34316d3a5d26029dd78bd40a11d001b9f79985d as build
|
2023-01-14 22:42:00 +01:00
|
|
|
|
|
|
|
ARG TARGETOS
|
|
|
|
ARG TARGETARCH
|
|
|
|
|
|
|
|
ADD . /src
|
|
|
|
WORKDIR /src
|
|
|
|
|
|
|
|
RUN make build
|
|
|
|
|
2023-06-15 11:03:59 +02:00
|
|
|
FROM alpine:3.18@sha256:82d1e9d7ed48a7523bdebc18cf6290bdb97b82302a8a9c27d4fe885949ea94d1
|
2020-09-20 00:00:34 +02:00
|
|
|
|
2021-01-17 20:14:01 +01:00
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
|
|
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
|
|
|
LABEL org.opencontainers.image.title="drone-github-comment"
|
|
|
|
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-github-comment"
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-github-comment"
|
|
|
|
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-github-comment"
|
2020-09-20 00:00:34 +02:00
|
|
|
|
2023-01-14 22:42:00 +01:00
|
|
|
COPY --from=build /src/dist/drone-github-comment /bin/drone-github-comment
|
2022-04-25 12:53:45 +02:00
|
|
|
ENTRYPOINT ["/bin/drone-github-comment"]
|