docker: restore chatmail-version to fix tests

This commit is contained in:
j4n
2026-02-24 13:51:06 +01:00
parent 107ff80410
commit 32a53ba2fd

View File

@@ -64,6 +64,9 @@ else
SKIP_DNS="--skip-dns-check"
fi
$CMDEPLOY run --config "$CHATMAIL_INI" --ssh-host @local $SKIP_DNS
# GithashDeployer overwrites /etc/chatmail-version with "unknown" because
# .git/ is excluded from the image; restore the build-time hash.
cp /etc/chatmail-image-version /etc/chatmail-version
echo "$current_fp" > "$FINGERPRINT_FILE"
fi