]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
container/make-manifest-list.py: use LOCALMANIFEST throughout
authorDan Mick <dan.mick@redhat.com>
Wed, 20 Nov 2024 00:40:05 +0000 (16:40 -0800)
committerDan Mick <dan.mick@redhat.com>
Thu, 5 Dec 2024 08:10:54 +0000 (00:10 -0800)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit a3a9f188cabf714de2c39e310bccbe848ed66671)

container/make-manifest-list.py

index b12598e0b6a06a868c98e5f4e443a1fd9fd78ea1..27b00cc47776d5511e178d5751363f4af1a259a2 100755 (executable)
@@ -186,8 +186,8 @@ def build_prerelease(sysargs):
 
     # create manifest list image with the standard list of tags
     # ignore failure on manifest rm
-    run_command(f'podman manifest rm localhost/m')
-    run_command_show_failure(f'podman manifest create localhost/m')
+    run_command(f'podman manifest rm {LOCALMANIFEST}')
+    run_command_show_failure(f'podman manifest create {LOCALMANIFEST}')
     for p in paths_with_tags:
         run_command_show_failure(f'podman manifest add m {p}')
     base = f'{manifest_host}/{manifest_repo}'
@@ -201,7 +201,7 @@ def build_prerelease(sysargs):
             print(f'skipping podman manifest push {LOCALMANIFEST} {base}:{t}')
         else:
             run_command_show_failure(
-              f'podman manifest push localhost/m {base}:{t}')
+              f'podman manifest push {LOCALMANIFEST} {base}:{t}')
 
 def promote(sysargs):
     manifest_host = os.environ.get('MANIFEST_HOST', 'quay.ceph.io')