mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
97189d41f3
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.
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
|