Build Docker image in CI and publish to container registry
Some checks failed
CI / ci (push) Successful in 9s
CI / build (push) Failing after 4s

This commit is contained in:
Joakim Hellsén 2026-08-09 03:23:25 +02:00
commit 0f01fdacff
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
2 changed files with 70 additions and 13 deletions

View file

@ -19,6 +19,15 @@ RUN --mount=type=cache,target=/root/.cache/uv \
FROM python:3.13-slim AS runtime
ARG BUILD_SOURCE=""
ARG BUILD_REVISION=""
ARG BUILD_CREATED=""
LABEL org.opencontainers.image.source="${BUILD_SOURCE}" \
org.opencontainers.image.revision="${BUILD_REVISION}" \
org.opencontainers.image.created="${BUILD_CREATED}" \
org.opencontainers.image.title="ANewDawn"
RUN groupadd --system --gid 10001 app \
&& useradd --system --uid 10001 --gid app app