Skip to content

feat(tag): implement tag command - #17

Merged
jmgilman merged 1 commit into
masterfrom
feat/tag-command
Jan 23, 2026
Merged

jmgilman merged 1 commit into
masterfrom
feat/tag-command

Conversation

@jmgilman

Copy link
Copy Markdown
Contributor

Summary

  • Implement the tag command per DESIGN.md to create/update tags pointing to existing manifests
  • Fetches source manifest digest and creates new tag reference pointing to that digest
  • Supports alias resolution for both source and destination references
  • Provides both text and JSON output formats

Test plan

  • Unit tests pass (go test ./cmd/... -run TestTag)
  • Linter passes (golangci-lint run)
  • Code compiles (go build)
  • Manual testing with registry (requires push access)

🤖 Generated with Claude Code

Implement the tag command to create/update tags pointing to existing
manifests. The command fetches the source manifest digest and creates
a new tag reference pointing to that digest.

Features:
- Supports both tag and digest source references
- Alias resolution for both source and destination refs
- Text and JSON output formats
- Follows existing command patterns (sign, inspect)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jmgilman
jmgilman merged commit 79a5800 into master Jan 23, 2026
5 checks passed
@jmgilman
jmgilman deleted the feat/tag-command branch January 23, 2026 18:30
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