Skip to content

Commit

Permalink
nosearch: use manifest instead of tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasmatus committed Aug 21, 2024
1 parent ea65e11 commit 24d666e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -3040,9 +3040,16 @@ class TestApplication(testlib.MachineCase):
""")

container_name = "localhost:80/my-busybox"
m.execute(f"podman tag {IMG_BUSYBOX} {container_name}; podman push {container_name}")
m.execute(f"""
podman manifest create my-busybox
podman manifest add my-busybox {IMG_BUSYBOX}
podman manifest push my-busybox {container_name}
""")
# Untag busybox image which duplicates the image we are about to download
m.execute(f"podman rmi -f {IMG_BUSYBOX} localhost:80/my-busybox")
m.execute(f"""
podman manifest rm localhost/my-busybox
podman rmi -f {IMG_BUSYBOX}
""")

self.login()

Expand Down

0 comments on commit 24d666e

Please sign in to comment.