Skip to content

Commit 5d88c38

Browse files
committed
Fix manifest digests
1 parent 518334a commit 5d88c38

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

main.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ def update(self) -> Image:
188188
source='altinity/clickhouse-server',
189189
tag='24.8.11.51285.altinitystable',
190190
digests=(
191-
'sha256:694d6cce8ed63a4d2677d571f8399a73a53a6e070a7b3555bb551ece522dc649',
191+
'sha256:65b4fed146dd9fa4fc7b0eff17adbeb3c1eb3e5d3c37fc2f635913eafc22b7a5', # noqa: E501
192+
'sha256:9730299fc9d9728e5e23a266e54a65d267acd565301fbb3d21092f2c6c3f0ea3', # noqa: E501
192193
),
193194
),
194195
Image(
@@ -356,7 +357,7 @@ def main() -> int:
356357
f.write(src)
357358
elif args.command == 'sync':
358359
for img in IMAGES:
359-
dest_img = f'getsentry/image-mirror-{img.source.replace("/", "-")}'
360+
dest_img = f"getsentry/image-mirror-{img.source.replace('/', '-')}"
360361

361362
try:
362363
target_digest_info = _digests('ghcr.io', dest_img, img.tag)
@@ -385,10 +386,15 @@ def main() -> int:
385386
subprocess.check_call(('docker', 'tag', src, dest))
386387
subprocess.check_call(('docker', 'push', '--quiet', dest))
387388

388-
subprocess.check_call((
389-
'docker', 'manifest', 'create', manifest,
390-
*(f'{manifest}-digest{i}' for i in range(len(img.digests))),
391-
))
389+
subprocess.check_call(
390+
(
391+
'docker',
392+
'manifest',
393+
'create',
394+
manifest,
395+
*(f'{manifest}-digest{i}' for i in range(len(img.digests))),
396+
),
397+
)
392398
subprocess.check_call(('docker', 'manifest', 'push', manifest))
393399
else:
394400
raise NotImplementedError(args.command)

0 commit comments

Comments
 (0)