Skip to content

ci: fix release workflow producing no tags on push to main#4

Merged
StrandedTurtle merged 1 commit into
mainfrom
claude/fix-release-tags
Jun 23, 2026
Merged

ci: fix release workflow producing no tags on push to main#4
StrandedTurtle merged 1 commit into
mainfrom
claude/fix-release-tags

Conversation

@StrandedTurtle

Copy link
Copy Markdown
Owner

Fixes the failed publish run (#1).

Cause: the edge tag was gated on {{is_default_branch}}. This repo's default branch is still claude/youthful-pasteur-2f6s72 (the first branch pushed), not main — so a push to main evaluated is_default_branch as false, the metadata-action produced zero tags, and buildx failed with tag is needed when pushing to registry. (Login/QEMU/buildx/image-name all worked; only the tag list was empty.)

Fix: gate edge on an explicit github.ref == 'refs/heads/main' and latest on tag pushes, and set flavor: latest=false. On merge this should produce the edge tag and actually run the multi-arch build (the first real test of the better-sqlite3 Alpine build fix).

Recommended follow-up (one-click, GitHub side): set the repo's default branch to main so PR bases and CI default-branch logic behave as expected.

🤖 Generated with Claude Code


Generated by Claude Code

The edge tag was gated on {{is_default_branch}}, but this repo's default
branch isn't main, so pushes to main generated zero tags and buildx failed
with "tag is needed when pushing to registry". Gate edge on an explicit
github.ref == refs/heads/main check (and latest on tag pushes), and set
flavor: latest=false so the only `latest` is our explicit one.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Lj6nYJQDtLaZFvvEQJGM4
@StrandedTurtle StrandedTurtle merged commit 17b936c into main Jun 23, 2026
4 checks passed
@StrandedTurtle StrandedTurtle deleted the claude/fix-release-tags branch June 23, 2026 12:06
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.

1 participant