From 9c41ce912264acc74c607b7753d2c198e728aa2d Mon Sep 17 00:00:00 2001 From: Yar Kravtsov Date: Sat, 25 Jan 2025 18:09:39 +0200 Subject: [PATCH] fix(docker): correct manifest creation syntax for proper multi-arch support --- create-manifests.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/create-manifests.sh b/create-manifests.sh index 2d2eb8c..70d63b4 100755 --- a/create-manifests.sh +++ b/create-manifests.sh @@ -1,18 +1,16 @@ #!/bin/bash -VERSION="0.3.7" +VERSION="0.3.9" # Create and push version manifest docker manifest create yarlson/zero:${VERSION} \ ---amend yarlson/zero:${VERSION}-amd64 \ - yarlson/zero:${VERSION}-amd64 \ - yarlson/zero:${VERSION}-arm64v8 + --amend yarlson/zero:${VERSION}-amd64 \ + --amend yarlson/zero:${VERSION}-arm64v8 docker manifest push yarlson/zero:${VERSION} # Create and push latest manifest docker manifest create yarlson/zero:latest \ ---amend yarlson/zero:latest-amd64 \ - yarlson/zero:latest-amd64 \ - yarlson/zero:latest-arm64v8 + --amend yarlson/zero:latest-amd64 \ + --amend yarlson/zero:latest-arm64v8 docker manifest push yarlson/zero:latest