Skip to content

fix: restore v-prefixed Docker Hub image tags - #2584

Merged
thomasferrandiz merged 1 commit into
flannel-io:masterfrom
thomasferrandiz:fix-docker-tag
Oct 6, 2026
Merged

thomasferrandiz merged 1 commit into
flannel-io:masterfrom
thomasferrandiz:fix-docker-tag

Conversation

@thomasferrandiz

Copy link
Copy Markdown
Contributor

Revert the Docker Hub metadata tag rule from type=semver,pattern={{version}} back to type=ref,event=tag. The semver pattern strips the leading "v", so Docker Hub images were tagged 0.28.x while GHCR images (and the manifests and Helm chart) use v0.28.x.

The rationale in #2483 was incorrect: metadata-action's type=ref,event=tag checks only that GITHUB_REF starts with refs/tags/, which holds for release events. The failed run that motivated it was triggered with ref refs/heads/master, which neither rule can produce a tag from.

Description

Todos

  • Tests
  • Documentation
  • Release note

Release Note

None required

Revert the Docker Hub metadata tag rule from type=semver,pattern={{version}}
back to type=ref,event=tag. The semver pattern strips the leading "v", so
Docker Hub images were tagged 0.28.x while GHCR images (and the manifests
and Helm chart) use v0.28.x.

The rationale in flannel-io#2483 was incorrect: metadata-action's type=ref,event=tag
checks only that GITHUB_REF starts with refs/tags/, which holds for release
events. The failed run that motivated it was triggered with ref
refs/heads/master, which neither rule can produce a tag from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thomasferrandiz
thomasferrandiz merged commit 5fba4ff into flannel-io:master Oct 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants