chore(build): fix OCI image annotations

cherry picked from !1599
This commit is contained in:
setop
2025-08-29 10:53:15 +02:00
parent 8cb078f643
commit ac014e94c8
3 changed files with 7 additions and 2 deletions

View File

@@ -265,6 +265,9 @@ build-docker-tag:
--platform linux/${ARCH}
--provenance=false
--build-arg="${ERL_FLAGS}"
--build-arg VCS_REF="${CI_COMMIT_SHA}"
--build-arg BUILD_DATE="${CI_JOB_STARTED_AT}"
--build-arg VERSION="${CI_COMMIT_TAG}"
-t kaihuri/mobilizon:${CI_COMMIT_TAG}-${ARCH}
-f docker/production/Dockerfile .
parallel:

View File

@@ -1,3 +1,4 @@
erlang 26.2.2
elixir 1.16.1-otp-26
nodejs 18.19.1
python 3.13.1-v3

View File

@@ -45,10 +45,11 @@ LABEL org.opencontainers.image.title="mobilizon" \
org.opencontainers.image.vendor="mobilizon.org" \
org.opencontainers.image.documentation="https://docs.mobilizon.org" \
org.opencontainers.image.licenses="AGPL-3.0" \
org.opencontainers.image.source="https://framagit.org/framasoft/mobilizon" \
org.opencontainers.image.source="https://framagit.org/kaihuri/mobilizon" \
org.opencontainers.image.url="https://mobilizon.org" \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.created=$BUILD_DATE
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$VERSION
RUN apk add --no-cache curl openssl ca-certificates ncurses-libs file postgresql-client libgcc libstdc++ imagemagick python3 py3-pip py3-pillow py3-cffi py3-brotli gcc g++ musl-dev python3-dev pango libxslt-dev ttf-cantarell
RUN pip --no-cache-dir install --break-system-packages weasyprint pyexcel-ods3