mirror of
https://github.com/langgenius/dify-agentbox.git
synced 2026-08-24 22:41:30 -04:00
[PR #19] [MERGED] fix: use single registry for push-by-digest to fix manifest merge #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-agentbox/pull/19
Author: @Mairuis
Created: 2/16/2026
Status: ✅ Merged
Merged: 2/16/2026
Merged by: @Mairuis
Base:
main← Head:fix/docker-multiregistry-push-by-digest📝 Commits (1)
2691cb0fix: use single registry for push-by-digest to fix manifest merge📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
.github/workflows/build.yml(+2 -2)📄 Description
Summary
mergejob failing withnot foundwhen creating manifest lists for Docker Hubname=ghcr.io/...from the build job'spush-by-digestoutput, so digests are only pushed to Docker HubRoot Cause
The build job specified two
namevalues in a singletype=imageoutput:In
push-by-digestmode withname-canonical=true, buildx only pushed the image layers to GHCR (the second name), not Docker Hub. The merge job then tried to reference these digests on Docker Hub and failed withnot found.Fix
Follow the Docker official docs pattern: push-by-digest to a single registry (Docker Hub), then use
imagetools createin the merge job to create manifest lists for both Docker Hub and GHCR from the same source digests.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.