Skip to content

Commit

Permalink
docker: add Source Label to Dockerfile (#509)
Browse files Browse the repository at this point in the history
To get changelogs shown with Renovate a docker container has to add the source label described in the OCI Image Format Specification.

For reference: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
  • Loading branch information
wuast94 authored Oct 7, 2024
1 parent 09e0659 commit 904eb5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN (cd apps/cli && pnpm build)
################# The All-in-one builder ##############

FROM node:21-alpine AS aio_builder
LABEL org.opencontainers.image.source="https://github.com/hoarder-app/hoarder"
WORKDIR /app

ARG SERVER_VERSION=nightly
Expand Down Expand Up @@ -121,6 +122,7 @@ RUN rm /etc/s6-overlay/s6-rc.d/svc-workers/dependencies.d/init-db-migration \
################# The cli ##############

FROM node:21-alpine AS cli
LABEL org.opencontainers.image.source="https://github.com/hoarder-app/hoarder"
WORKDIR /app

COPY --from=base /app/apps/cli/dist/index.mjs apps/cli/index.mjs
Expand Down

0 comments on commit 904eb5a

Please sign in to comment.