optimise versionstring handling (#159)

- Reading the version string from the image updates
  it even if the image is re-pulled without re-deployment
This commit is contained in:
Stefan Allius
2024-08-10 22:53:25 +02:00
committed by GitHub
parent 1e610af1df
commit 33d385db10
3 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
set -e
user="$(id -u)"
export VERSION=$(cat /proxy-version.txt)
echo "######################################################"
echo "# prepare: '$SERVICE_NAME' Version:$VERSION"
echo "# for running with UserID:$UID, GroupID:$GID"