Skip to content

Inconsistent version tag convention: git tags use 'v' prefix, GHCR image tags do not #57

Closed

Description

@gerchowl

Problem

Git tags use a v prefix (v0.2.1) while GHCR container image tags use bare semver (0.2.1, latest). This mismatch is confusing and leads to errors when users naturally try the git tag format with container commands:

# Fails — tag v0.2.1 does not exist in the registry
just pull v0.2.1
podman pull ghcr.io/vig-os/devcontainer:v0.2.1

# Works — bare semver
just pull 0.2.1
podman pull ghcr.io/vig-os/devcontainer:0.2.1

The --version flag in install.sh also expects the bare semver format, which contradicts what users see in GitHub releases (e.g. v0.2.1).

Suggestion

Pick one convention and apply it consistently, or publish image tags under both formats (0.2.1 and v0.2.1) so either works. Options:

  1. Publish both tags in the release workflow — lowest friction, no breaking change
  2. Strip the v prefix in tooling — e.g. install.sh and just pull could auto-strip a leading v before passing the tag to the registry
  3. Align on one format everywhere — more disruptive but cleaner long-term

Context

  • Git tags: v0.1, v0.2.0, v0.2.1
  • Image tags: latest, 0.2.1, etc. (no v prefix)
  • README documented --version 1.0.0 (non-existent version) — already fixed in a pending change along with a note about the tag convention

/cc @c-vigo

Activity

  1. added
    bug
    on Feb 17, 2026
  2. c-vigo commented on Feb 18, 2026

    @c-vigo
    Contributor
    • Consolidate into version tags X.Y.Zwithout v
    • Try to update existing tags and released images (or re-tag them)
  3. added
    priority:medium
    area:ci
    effort:small
    semver:patch
    on Feb 18, 2026
  4. added this to the 0.3 milestone on Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cibugeffort:smallpriority:mediumsemver:patch

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions