mirror of
https://github.com/ceph/ceph
synced 2025-04-10 03:32:25 +00:00
container/make-manifest-list.py: use LOCALMANIFEST throughout
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit a3a9f188ca
)
This commit is contained in:
parent
eb1e981234
commit
55f3589cb0
@ -186,8 +186,8 @@ def build_prerelease(sysargs):
|
|||||||
|
|
||||||
# create manifest list image with the standard list of tags
|
# create manifest list image with the standard list of tags
|
||||||
# ignore failure on manifest rm
|
# ignore failure on manifest rm
|
||||||
run_command(f'podman manifest rm localhost/m')
|
run_command(f'podman manifest rm {LOCALMANIFEST}')
|
||||||
run_command_show_failure(f'podman manifest create localhost/m')
|
run_command_show_failure(f'podman manifest create {LOCALMANIFEST}')
|
||||||
for p in paths_with_tags:
|
for p in paths_with_tags:
|
||||||
run_command_show_failure(f'podman manifest add m {p}')
|
run_command_show_failure(f'podman manifest add m {p}')
|
||||||
base = f'{manifest_host}/{manifest_repo}'
|
base = f'{manifest_host}/{manifest_repo}'
|
||||||
@ -201,7 +201,7 @@ def build_prerelease(sysargs):
|
|||||||
print(f'skipping podman manifest push {LOCALMANIFEST} {base}:{t}')
|
print(f'skipping podman manifest push {LOCALMANIFEST} {base}:{t}')
|
||||||
else:
|
else:
|
||||||
run_command_show_failure(
|
run_command_show_failure(
|
||||||
f'podman manifest push localhost/m {base}:{t}')
|
f'podman manifest push {LOCALMANIFEST} {base}:{t}')
|
||||||
|
|
||||||
def promote(sysargs):
|
def promote(sysargs):
|
||||||
manifest_host = os.environ.get('MANIFEST_HOST', 'quay.ceph.io')
|
manifest_host = os.environ.get('MANIFEST_HOST', 'quay.ceph.io')
|
||||||
|
Loading…
Reference in New Issue
Block a user