feat: Migrate from Spin registry to wkg publishing for standardized WebAssembly distribution#4
Merged
Merged
Conversation
- Implements docker/login-action@v3 for reliable GHCR authentication - Default dry run mode for safe testing - Manual workflow dispatch only (no automatic triggers) - Includes cosign signing and metadata tagging - Tests Spin compatibility with published components - Based on WebAssembly/wasi-http publishing pattern 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added test-wkg-publish job to release.yml based on WASI-HTTP pattern - Temporarily disabled Spin publishing in publish-all-tools job - Added feat/wkg-migration branch trigger for testing - Added test_wkg input for manual workflow dispatch - Removed separate wkg-test.yml as functionality is now integrated - Uses docker/login-action@v3 for reliable GHCR authentication - Includes cosign signing and Spin consumption validation Testing approach: - Push to feat/wkg-migration branch will trigger wkg test automatically - Or use workflow_dispatch with test_wkg=true 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add special handling for feat/wkg-migration branch - Use test version v0.0.0-wkg-test when triggered by branch push - Skip version format validation for test branch - Prevents workflow failure when not triggered by tag 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Split registry URL into separate registry, package, and version fields
- Format: { registry = "ghcr.io", package = "namespace:name", version = "tag" }
- Matches Spin's ComponentSource enum structure
- Added debug output to show parsed values
- Print spin.toml on failure for debugging
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace publish-all-tools job with wkg-based publishing - Publish all tools individually with version and latest tags - Add cosign signing for every published component - Include WASM file validation and error handling - Add Spin compatibility test for wkg-published components - Remove all disabled Spin publishing code - Enhanced logging and summary reporting Migration Benefits: - Standard WebAssembly component publishing via OCI - Better cross-language compatibility - Industry-standard artifact format - Maintained Spin consumption capability 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Production cleanup: - Remove test_wkg input and branch triggers - Remove development-specific version handling - Remove Spin compatibility test job (proven working) - Restore proper version validation for production releases - Update workflow description and summary for wkg publishing - Clean up all temporary testing comments Ready for production deployment: - Publishes all 84+ tools via wkg to GHCR - Cosign signing for all components - Proper semver validation - Professional release artifacts documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Key Changes
spin registry pushwithwkg oci pushfor all 84 toolsdocker/login-action@v3for reliable GHCR authentication{ registry = "ghcr.io", package = "namespace:name", version = "tag" }Test Plan
Technical Validation
🤖 Generated with Claude Code