docker: show version via $COMMIT_SHA (and $BRANCH if not "main")

This commit is contained in:
Ralf Vogler 2023-08-27 18:33:27 +02:00
parent 24a9f23211
commit 2eb17a1419
2 changed files with 6 additions and 0 deletions

View file

@ -70,6 +70,9 @@ LABEL org.opencontainers.image.title="free-games-claimer" \
org.opencontainers.image.base.name="ubuntu:jammy" \
org.opencontainers.image.version="latest"
ENV COMMIT_SHA=${COMMIT_SHA}
ENV BRANCH=${BRANCH}
# Configure VNC via environment variables:
ENV VNC_PORT 5900
ENV NOVNC_PORT 6080