diff --git a/publish.py b/publish.py index 2e95ab8..d565d09 100755 --- a/publish.py +++ b/publish.py @@ -216,12 +216,13 @@ def run_command(*command, ignore_error: bool = False): "docker", "manifest", "create", + "--amend", manifest, *docker_names.manifest_cmd_base, ] run_command(*cmd) - cmd = ["docker", "manifest", "push", manifest] + cmd = ["docker", "manifest", "push", "--purge", manifest] run_command(*cmd) print(f"Published {manifest}")