Features: - Parse and compare semantic versions from Docker Hub - Check if current version is outdated on startup - Only pull updates when newer version is available - GitLab CI now tags images with Cargo.toml version - Created bump-version.sh script for easy version bumping How it works: 1. Cargo.toml contains source of truth version (0.1.0) 2. GitLab CI extracts version and tags Docker images with it 3. Agent queries Docker Hub for all semver tags 4. Compares current version against latest available 5. Only pulls and restarts if newer version exists Version bumping workflow: ./scripts/bump-version.sh patch # 0.1.0 -> 0.1.1 ./scripts/bump-version.sh minor # 0.1.0 -> 0.2.0 ./scripts/bump-version.sh major # 0.1.0 -> 1.0.0 This creates git commit and tag, ready to push. |
||
|---|---|---|
| .. | ||
| bump-version.sh | ||