1
Fork 0

fix(release): add missing ARG RELEASE_VERSION

The ARG RELEASE_VERSION set in the build-env image does not propagate
to the images that follow. As a result the value of the version label
is always empty.

This should have been caught by the test in the CI but although it
notified the problem in the output, it did not fail. Upgrade to the
forgejo-build-publish version that fixes this false positive.
This commit is contained in:
Earl Warren 2024-04-17 16:36:53 +02:00
parent d07f12e010
commit 97189d41f3
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 5 additions and 2 deletions

View file

@ -52,6 +52,7 @@ RUN chmod 755 /tmp/local/usr/bin/entrypoint \
RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete
FROM docker.io/library/alpine:3.19
ARG RELEASE_VERSION
LABEL maintainer="contact@forgejo.org" \
org.opencontainers.image.authors="Forgejo" \
org.opencontainers.image.url="https://forgejo.org" \