Skip to content

chore: add dynamic annotations to Dockerfile #1629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ RUN yarn build
FROM node:22.14.0-alpine AS release
LABEL maintainer="opensource@kula.app"

LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.name="OnLaunch"
LABEL org.label-schema.description="OnLaunch is a service allowing app developers to notify app users about updates, warnings and maintenance."
LABEL org.label-schema.url="http://onlaunch.app"
LABEL org.label-schema.vcs-url="https://github.com/kula/OnLaunch"
LABEL org.label-schema.vendor="kula app GmbH"
# OCI Annotations (https://github.com/opencontainers/image-spec/blob/main/annotations.md)
LABEL org.opencontainers.image.title="OnLaunch" \
org.opencontainers.image.description="OnLaunch is a service allowing app developers to notify app users about updates, warnings and maintenance." \
org.opencontainers.image.url="http://onlaunch.app" \
org.opencontainers.image.source="https://github.com/kula/OnLaunch" \
org.opencontainers.image.vendor="kula app GmbH" \
org.opencontainers.image.licenses="Apache-2.0"
# Note: org.opencontainers.image.created, org.opencontainers.image.version, and org.opencontainers.image.revision
# are set dynamically during Docker Hub automated builds via hooks/build

# Set tini as entrypoint
RUN apk add --no-cache tini
Expand Down
Loading