Skip to content

Commit c83bce6

Browse files
committed
Set org.opencontainers.image.source label in Dockerfile
As documented in the OCI Image Format, org.opencontainers.image.source[1] identifies an image's source repository. This is purely for documentation purposes. It does however help tools such as Renovate[2] to find the changelogs when a new Traggo version is released. The changelogs would then be included in the PR Renovate creates. [1]: https://github.com/opencontainers/image-spec/blob/5325ec48851022d6ded604199a3566254e72842a/annotations.md#L24 [2]: https://docs.renovatebot.com/modules/datasource/docker/#description
1 parent a87b588 commit c83bce6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM scratch
2+
LABEL org.opencontainers.image.source="https://github.com/traggo/server"
23
WORKDIR /opt/traggo
34
COPY traggo /opt/traggo
45
EXPOSE 3030

0 commit comments

Comments
 (0)