Skip to content

Conversation

@synacktraa
Copy link
Contributor

This PR updates the reusable Docker publish workflow so that multi-architecture images are generated correctly. Previously, each matrix job pushed directly to the same tag, causing the last completed build to overwrite the manifest and resulting in tags containing only one architecture.

This refactor introduces the recommended Buildx pattern:

  • Each platform build now pushes by digest rather than by tag.
  • Each digest is uploaded as a separate artifact, one per platform.
  • A final job assembles the multi-arch manifest using docker buildx imagetools create.

The workflow continues to support PR builds, main branch builds, and semantic version tags, but now publishes them as proper multi-arch images.

Addresses: #488

Refactored the reusable Docker publish workflow to generate proper multi-architecture images.
Each platform build now pushes by digest and uploads its digest as an artifact, and a final job
assembles the multi-arch manifest from those digests.
@vercel
Copy link
Contributor

vercel bot commented Dec 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 13, 2025 3:41am

Updated the manifest creation and inspection steps to loop over metadata-action's `.tags[]`
directly and use the full tag references as-is. The previous version attempted to prefix
tags with the image name, which produced invalid references (e.g. image:image:tag). Using
the full tags emitted by metadata-action ensures correct manifest creation for PR tags,
SHA tags, semver tags, and latest.
…hing unwanted tags

Split the final metadata-action step into PR, main, and semver-specific blocks so each
event only generates the appropriate tags. This prevents PR runs from pushing
`latest` or semver tags, ensuring the publish job creates multi-arch manifests
only for the tags intended for that event.
@synacktraa synacktraa merged commit f1d46c1 into main Dec 13, 2025
15 checks passed
@synacktraa synacktraa deleted the fix/multi-arch-docker-publish-workflow branch December 13, 2025 04:28
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