Before: startup script wrote AGNES_VERSION=stable (the floating tag name) into .env, which overrode the image's build-time ENV AGNES_VERSION=2026.04.47. UI badge showed 'stable-stable' instead of 'stable-2026.04.47'. After: - Dockerfile ARG/ENV for AGNES_COMMIT_SHA (alongside existing VERSION + CHANNEL) - release.yml passes github.sha as AGNES_COMMIT_SHA build-arg - Startup script no longer writes these three into .env; the app reads them from the image ENV set at build time. Result: badge displays 'stable-2026.04.47 · stable · <time> ago' with the real CalVer, and the commit SHA tooltip points at an actual commit rather than the floating manifest digest. |
||
|---|---|---|
| .. | ||
| main.tf | ||
| outputs.tf | ||
| startup-script.sh.tpl | ||
| variables.tf | ||