WIP: Fix docker-publish workflow to fetch git tags for version detection #62

Closed
Copilot wants to merge 2 commits from copilot/sub-pr-58-yet-again into v0.4.8
Copilot commented 2025-11-15 18:56:44 -05:00 (Migrated from github.com)

The docker-publish workflow uses git describe --tags to extract version information, but the checkout action wasn't fetching tag history, causing it to always fall back to "dev".

Changes:

  • Added fetch-depth: 0 to the checkout step to fetch full git history and tags
- name: Checkout repository
  uses: actions/checkout@v4
  with:
    fetch-depth: 0

This allows the version extraction step to correctly resolve tags instead of defaulting to "dev" when running outside of tag-triggered builds.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

The docker-publish workflow uses `git describe --tags` to extract version information, but the checkout action wasn't fetching tag history, causing it to always fall back to "dev". **Changes:** - Added `fetch-depth: 0` to the checkout step to fetch full git history and tags ```yaml - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 ``` This allows the version extraction step to correctly resolve tags instead of defaulting to "dev" when running outside of tag-triggered builds. <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
bscott (Migrated from github.com) reviewed 2025-11-15 18:56:44 -05:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bscott/subtrackr!62
No description provided.