You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Manifest not displayed in GHCR UI when using attestations #900
Seems an issue with GHCR not being able to parse an OCI index or it tries to parse manifest attestations but fails to display infos from labels. Pure speculation but I think GitHub does not check the mime-type of the manifest on their side so it fails.
But it seems the core issue -- moby/moby#43126 -- has been fixed already?
Yes Docker tooling is fixed
Or is GHCR using something else that reads OCI incorrectly?
Maybe I don't know what GH is using internally. We had opened an internal discussion with them but no response yet. I'll keep you posted as soon as we know more.
changed the title [-]GHCR "breaks" on images built not with `output: type=docker`[/-][+]Manifest not displayed in GHCR UI when using attestations[/+]on Jul 7, 2023
in the build-push-action. But it requires BuildX 0.12 so it will work as soon as Github updates the workflow runners to that version. It does not require any change to GHCR at all.
But now I see this issue was about the unknown architecture, and that does require an update of GHCR and willl not be solved by BuildX 0.12, sorry.
@crazy-max Did GitHub come back on when will this be addressed?
For us, this problem leads to creation of 3 image entries in GHCR. One is the main image and other two are the manifest and manifest list which are untagged. We have a workflow that deletes older images with a specific tag that also deletes untagged images which in turn ends up deleting the manifests causing the image pull to fail post the cleanup.
Activity
crazy-max commentedon Jul 7, 2023
Seems an issue with GHCR not being able to parse an OCI index or it tries to parse manifest attestations but fails to display infos from labels. Pure speculation but I think GitHub does not check the mime-type of the manifest on their side so it fails.
Can you try disabling provenance?:
crazy-max commentedon Jul 7, 2023
Same as docker/setup-buildx-action#187 (comment)
LeviPesin commentedon Jul 7, 2023
But it seems the core issue -- moby/moby#43126 -- has been fixed already?
Or is GHCR using something else that reads OCI incorrectly?
It seems to display correctly with disabled proveance indeed.
crazy-max commentedon Jul 7, 2023
Yes Docker tooling is fixed
Maybe I don't know what GH is using internally. We had opened an internal discussion with them but no response yet. I'll keep you posted as soon as we know more.
[-]GHCR "breaks" on images built not with `output: type=docker`[/-][+]Manifest not displayed in GHCR UI when using attestations[/+]ci(docker): disable provenance attestations for docker/buildx#1533
ci(docker): disable provenance attestations for docker/buildx#1533
aaomidi commentedon Jan 23, 2024
@crazy-max have you learned more about this?
kroese commentedon Jan 23, 2024
@aaomidi This is fixed in BuildX 0.12 but Github runners still use 0.11.2 so you will have to be patient a bit longer...
LeviPesin commentedon Jan 24, 2024
Is there some estimation when GHCR would update to 0.12?
kroese commentedon Jan 24, 2024
Sorry, I mixed up two issues. I thought it was about GHCR not showing the description info for images. This can be solved by setting:
in the
metadata-actionconfig andin the
build-push-action. But it requires BuildX 0.12 so it will work as soon as Github updates the workflow runners to that version. It does not require any change to GHCR at all.But now I see this issue was about the
unknownarchitecture, and that does require an update of GHCR and willl not be solved by BuildX 0.12, sorry.raoganeshr commentedon Aug 5, 2024
@crazy-max Did GitHub come back on when will this be addressed?
For us, this problem leads to creation of 3 image entries in GHCR. One is the main image and other two are the manifest and manifest list which are untagged. We have a workflow that deletes older images with a specific tag that also deletes untagged images which in turn ends up deleting the manifests causing the image pull to fail post the cleanup.
chore(ci): disable `provenance` and `sbom` in Docker publish
chore(ci): disable `provenance` and `sbom` in Docker publish (#2498)
docs: explain GHCR's unknown/unknown OS/Arch entry, bump version refs…
ci(docker): Der Index des Images nennt das Repository, damit ghcr.io …