ci: compare container version to source instead of hardcoding 1.5.75

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-10 17:02:59 +01:00
1 parent 1b0acfe566
commit e7696a6a11
1 file changed
+3 -1
+3 -1
View File
@@ -98,7 +98,9 @@ jobs:
- name: Verify x64 container binary
run: |
docker image inspect landwelle-portal:x64-ci --format '{{.Architecture}}' | grep -qx amd64
docker run --rm --entrypoint /usr/local/bin/landwelle-portal landwelle-portal:x64-ci --version | grep -qx 'Landwelle v1.5.75'
expected_version="$(sed -nE 's/^[[:space:]]*applicationVersion[[:space:]]*=[[:space:]]*"([^"]+)".*/\1/p' main.go | head -n1)"
test -n "$expected_version"
docker run --rm --entrypoint /usr/local/bin/landwelle-portal landwelle-portal:x64-ci --version | grep -Fx "Landwelle v$expected_version"
frontend-static:
name: JavaScript and deployment-script checks
runs-on: ubuntu-latest