mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-04-02 05:41:35 +02:00
Remove non-relevant digest checks
The container registry is always going to rewrite parts of the image in an uncontrollable way. As far as we know, it's not possible to download a 1:1 copy of a build output from the container registry (until someone figures this out). As far as I understand it, it also explains why `diffoci --semantic` is a thing and why it's generally considered "good enough" (give current constraints).
This commit is contained in:
parent
9a4c205f52
commit
8cefb71233
@ -163,10 +163,6 @@ image:build:secure:
|
||||
-t "archlinux:repro-rebuild-$CI_COMMIT_REF_SLUG" \
|
||||
"$CI_PROJECT_DIR/repro-output"
|
||||
- podman pull "$CI_REGISTRY_IMAGE:repro-$CI_COMMIT_REF_SLUG"
|
||||
- echo "Digest of the original image is:"
|
||||
- podman inspect --format '{{.Digest}}' "$CI_REGISTRY_IMAGE:repro-$CI_COMMIT_REF_SLUG"
|
||||
- echo "Digest of the rebuilt image is:"
|
||||
- podman inspect --format '{{.Digest}}' "localhost/archlinux:repro-rebuild-$CI_COMMIT_REF_SLUG"
|
||||
- diffoci diff --semantic podman://$CI_REGISTRY_IMAGE:repro-$CI_COMMIT_REF_SLUG podman://localhost/archlinux:repro-rebuild-$CI_COMMIT_REF_SLUG
|
||||
- echo "Image is reproducible!"
|
||||
artifacts:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user