Skip to content

Commit

Permalink
Update registry image as well
Browse files Browse the repository at this point in the history
  • Loading branch information
grisu48 committed Oct 3, 2024
1 parent 3ec63fa commit 98b056b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/containers/skopeo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ sub run {
record_info('Compare images', 'Both extracted copies must be identical.');
assert_script_run("diff -urN $dir1 $dir2", fail_message => 'Copied images are not identical.');

# Skipped on RISC-V until a

######### Spin-up an instance of the latest Registry
assert_script_run("$runtime run --rm -d -p 5050:5000 --name skopeo-registry registry.suse.com/suse/registry:latest",
my $registry_image = is_opensuse ? "registry.opensuse.org/opensuse/registry:latest" : "registry.suse.com/suse/registry:latest";
assert_script_run("$runtime run --rm -d -p 5050:5000 --name skopeo-registry $registry_image",
fail_message => "Failed to start local registry container");

######### Pull the image into a our local repository
Expand Down

0 comments on commit 98b056b

Please sign in to comment.