build(docker): add image source label (#288)

This adds the `org.opencontainers.image.source` label pointing to this repository for cross-referencing information. For example: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
This commit is contained in:
Kyle Brown 2023-02-16 12:36:40 -07:00 committed by GitHub
parent 830ce2b0a9
commit 673db41f37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,10 @@ COPY --from=builder /go/bin/api /app
RUN chmod +x /app/api RUN chmod +x /app/api
LABEL Name=homebox Version=0.0.1 LABEL Name=homebox Version=0.0.1
LABEL org.opencontainers.image.source="https://github.com/hay-kot/homebox"
EXPOSE 7745 EXPOSE 7745
WORKDIR /app WORKDIR /app
VOLUME [ "/data" ] VOLUME [ "/data" ]
ENTRYPOINT [ "/app/api" ] ENTRYPOINT [ "/app/api" ]
CMD [ "/data/config.yml" ] CMD [ "/data/config.yml" ]