Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No merge please - Testing Ubuntu/Fedora build. #864

Closed
wants to merge 1 commit into from

Conversation

TallFurryMan
Copy link
Contributor

This MRis here to test the build issue on Fedora and Debian. No merge please.

@TallFurryMan TallFurryMan changed the title No merge please. No merge please - Testing Ubuntu/Fedora build. Dec 9, 2023
@TallFurryMan
Copy link
Contributor Author

The digest used by the Ubuntu build is:
Digest: sha256:3ddc29f3d16d79c2a3180d421881233eb540b5248e1c9cfb78239654ea74f0d4

The digest returned by docker manifest inspect for ghcri.io/indilib/ubuntu:latest is:
"digest": "sha256:1edf3f189b8e223067c7daf81949063658a101ebda442b564228402c3ec1d293"

The digest generated by the last Github Action for ubuntu:latest is:
sha256:3ddc29f3d16d79c2a3180d421881233eb540b5248e1c9cfb78239654ea74f0d4

I don't understand why the build won't pick ubuntu:latest as we see it from outside. I'll open a support ticket.

That said, even if the image is not the expected one, it is recent enough that builds succeed.

@TallFurryMan
Copy link
Contributor Author

So the problem lies also with docker manifest inspect, which does not work in all situations. The right tool for inspection is in package docker-buildx:

$ docker buildx imagetools inspect ghcr.io/indilib/ubuntu:latest
Name:      ghcr.io/indilib/ubuntu:latest
MediaType: application/vnd.docker.distribution.manifest.v2+json
Digest:    sha256:3ddc29f3d16d79c2a3180d421881233eb540b5248e1c9cfb78239654ea74f0d4

Here the digest is OK. That does not explain why there was a discrepancy in images at some point, as the Github Action building one image would not provide the same digest as the build executed afterwards. I suppose it is sufficient for now to say there is a non-deterministic delay between the image build and its use in MR checks.

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