Skip to content

Conversation

@raeperd
Copy link
Owner

@raeperd raeperd commented Oct 10, 2025

This PR simplifies the GitHub Actions deploy workflow by consolidating the complex two-job matrix approach into a single job that uses Docker buildx's native multi-platform capabilities.

Changes Made

  • Consolidated jobs: Combined matrix build and merge jobs into a single build job
  • Native multi-platform: Uses platforms: linux/amd64,linux/arm64 directly in build-push-action
  • Removed complexity: Eliminated digest artifacts, upload/download steps, and manifest creation
  • Fixed typo: Changed braches to branches in workflow triggers
  • Preserved functionality: Maintains identical AMD64 and ARM64 image deployment

Benefits

  • Reduced complexity: From 81 lines to 35 lines (57% reduction)
  • Improved maintainability: Single job is easier to understand and debug
  • Faster execution: No artifact handling overhead
  • Same functionality: Identical multi-architecture support

- Consolidate matrix build and merge jobs into single job
- Use Docker buildx native multi-platform capabilities
- Remove complex digest artifact handling
- Fix typo: braches -> branches
- Reduce workflow from 81 to 35 lines while preserving AMD64/ARM64 support
@raeperd raeperd merged commit 2e2e7c2 into main Oct 10, 2025
3 checks passed
@coveralls
Copy link

Coverage Status

coverage: 70.5%. remained the same
when pulling 7db78b8 on simplify-deploy-workflow
into 5a0af86 on main.

@raeperd raeperd deleted the simplify-deploy-workflow branch October 10, 2025 09:36
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.

3 participants