From a614f9b2a06e1c04df9007170566f4c22f2339ad Mon Sep 17 00:00:00 2001 From: rramiachraf <51409801+rramiachraf@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:52:49 +0000 Subject: [PATCH] ci: add image metadata --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index a1200bb..e6b0470 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,15 @@ RUN go mod download COPY . . RUN make build +############################################################### + FROM scratch +LABEL org.opencontainers.image.source="https://github.com/rramiachraf/dumb" +LABEL org.opencontainers.image.url="https://github.com/rramiachraf/dumb" +LABEL org.opencontainers.image.licenses="MIT" +LABEL org.opencontainers.image.description="Private alternative front-end for Genius." + COPY --from=build /code/dumb . COPY --from=build /code/static static COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/