Skip to content

feat: enhance release workflow to support dynamic platform selection for Docker builds#14

Merged
masmuss merged 1 commit into
mainfrom
dev
Apr 24, 2026
Merged

feat: enhance release workflow to support dynamic platform selection for Docker builds#14
masmuss merged 1 commit into
mainfrom
dev

Conversation

@masmuss

@masmuss masmuss commented Apr 24, 2026

Copy link
Copy Markdown
Owner

This pull request updates the release-image.yml GitHub Actions workflow to make the target image platforms configurable and more flexible. The main improvement is allowing users to specify custom platforms for image builds, with sensible defaults and backward compatibility.

Key workflow improvements:

Platform configuration enhancements:

  • Added a new platforms input to the workflow, allowing users to specify a comma-separated list of target platforms (e.g., linux/amd64,linux/arm64).
  • Introduced the DEFAULT_IMAGE_PLATFORMS environment variable to centralize the default platform values.
  • Added a new "Resolve image platforms" step that determines the final list of platforms to use, prioritizing user input (when triggered via workflow_dispatch), and falling back to defaults if not provided.

Build step updates:

  • Updated the Docker build step to use the dynamically resolved platforms value instead of a hardcoded list, ensuring the workflow respects user input or defaults as appropriate.

@masmuss masmuss merged commit ec6940e into main Apr 24, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant