From 629288f663848e07e3e8d0e0ea82fdf7e71c904d Mon Sep 17 00:00:00 2001 From: Snir Sheriber Date: Tue, 20 Sep 2022 15:46:50 +0300 Subject: [PATCH] build.sh: clean manifest cache after push in all image build scripts see: https://github.com/docker/cli/issues/954 Fixes: #242 Signed-off-by: Snir Sheriber --- hack/build.sh | 2 +- install/pre-install-payload/hack/build.sh | 2 +- install/runtime-payload/hack/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/build.sh b/hack/build.sh index 0d606ab03..fcc6a7026 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -50,7 +50,7 @@ function build_caa_payload() { --amend ${registry}:x86_64-${tag} docker manifest push ${registry}:${tag} - docker manifest push ${registry}:latest + docker manifest push --purge ${registry}:latest popd } diff --git a/install/pre-install-payload/hack/build.sh b/install/pre-install-payload/hack/build.sh index 3a467fd68..c896bdf16 100755 --- a/install/pre-install-payload/hack/build.sh +++ b/install/pre-install-payload/hack/build.sh @@ -51,7 +51,7 @@ function build_preinstall_payload() { --amend ${registry}:x86_64-${tag} docker manifest push ${registry}:${tag} - docker manifest push ${registry}:latest + docker manifest push --purge ${registry}:latest popd } diff --git a/install/runtime-payload/hack/build.sh b/install/runtime-payload/hack/build.sh index 160d9cf65..cac5b05e7 100755 --- a/install/runtime-payload/hack/build.sh +++ b/install/runtime-payload/hack/build.sh @@ -51,7 +51,7 @@ function build_runtime_payload() { --amend ${registry}:x86_64-${tag} docker manifest push ${registry}:${tag} - docker manifest push ${registry}:latest + docker manifest push --purge ${registry}:latest popd }