Skip to content

ci: fix buildx bake push-by-digest error by not overriding output name#27

Open
Virakal wants to merge 14 commits intomasterfrom
fix/bake-remove-name-override
Open

ci: fix buildx bake push-by-digest error by not overriding output name#27
Virakal wants to merge 14 commits intomasterfrom
fix/bake-remove-name-override

Conversation

@Virakal
Copy link
Member

@Virakal Virakal commented Oct 17, 2025

Fix buildx bake failure caused by overriding the output 'name' without tags.

docker-bake.hcl already generates per-target tags. Overriding the output 'name' to the repository (without tags) caused buildx to attempt pushing tagged refs by digest which Docker Hub rejects. Removing the name override lets buildx use the tags defined by bake and avoids the "can't push tagged ref ... by digest" error.

Files changed:

  • .github/workflows/multi-platform-build.yml

How to verify:

  • Run the workflow in GitHub Actions (manual dispatch) or run 'bin/bake.js --print' locally to review output.
  • Optionally run a non-pushing or load-local build with 'docker buildx bake php --set php.platforms=linux/amd64 --load' and verify local images.

@Virakal Virakal force-pushed the fix/bake-remove-name-override branch from e95830c to 83cc165 Compare October 17, 2025 07:26
@Virakal Virakal force-pushed the fix/bake-remove-name-override branch from b932874 to c169a50 Compare October 20, 2025 07:19
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

Comments