mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 04:14:42 +00:00
A manual run takes the version as an input but the checkout had no ref, so it built whatever the run was dispatched from. Dispatching off main to rebuild an older release would have published current main under that release's tags, and moved `latest` to it. Check out the version instead, falling back to the run's own ref when there is no version, which is the push that publishes `develop`. The release and call paths already checked out the right commit; this makes them explicit and fails loudly on a version with no tag rather than mislabelling an image. The compose file attached to the release now comes from the tag too.