c8017a2853
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. (cherry picked from commit 97189d41f3b9fd148312bc3e3c4a6295ff34fef5)
6 lines
302 B
Docker
6 lines
302 B
Docker
FROM code.forgejo.org/oci/alpine:3.19
|
|
ARG RELEASE_VERSION=unkown
|
|
LABEL maintainer="contact@forgejo.org" \
|
|
org.opencontainers.image.version="${RELEASE_VERSION}"
|
|
RUN mkdir -p /app/gitea
|
|
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea
|