Skip to content

Commit a2b03f5

Browse files
committed
ci: Tag multiarch images on GHCR too
1 parent 7171610 commit a2b03f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

misc/python/materialize/mzbuild.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,18 @@ def publish_multiarch_images(
14711471
]
14721472
)
14731473
spawn.runv(["docker", "manifest", "push", name])
1474+
1475+
ghcr_name = f"ghcr.io/materializeinc/{name}"
1476+
spawn.runv(
1477+
[
1478+
"docker",
1479+
"manifest",
1480+
"create",
1481+
ghcr_name,
1482+
*(image.spec() for image in images),
1483+
]
1484+
)
1485+
spawn.runv(["docker", "manifest", "push", ghcr_name])
14741486
print(f"--- Nofifying for tag {tag}")
14751487
markdown = f"""Pushed images with Docker tag `{tag}`"""
14761488
spawn.runv(

0 commit comments

Comments
 (0)