ci: add image metadata
This commit is contained in:
parent
12007be5b3
commit
a614f9b2a0
@ -10,8 +10,15 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
|
||||||
FROM scratch
|
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/dumb .
|
||||||
COPY --from=build /code/static static
|
COPY --from=build /code/static static
|
||||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user