fix docker inspect image reference
This commit is contained in:
parent
3e28f972fc
commit
afe2d0bb8b
@ -422,13 +422,13 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
with subtest("Ensure correct architecture is present in manifests."):
|
||||
docker.succeed(
|
||||
"docker load --input='${examples.build-image-with-architecture}'",
|
||||
"docker inspect ${examples.build-image-with-architecture} "
|
||||
"docker inspect build-image-with-architecture "
|
||||
+ "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
|
||||
"docker rmi build-image-with-architecture",
|
||||
)
|
||||
docker.succeed(
|
||||
"${examples.layered-image-with-architecture} | docker load",
|
||||
"docker inspect ${examples.layered-image-with-architecture} "
|
||||
"docker inspect layered-image-with-architecture "
|
||||
+ "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
|
||||
"docker rmi layered-image-with-architecture",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user