Skip to content

Commit

Permalink
build.sh: clean manifest cache after push
Browse files Browse the repository at this point in the history
in all image build scripts
see: docker/cli#954

Fixes: confidential-containers#242
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
  • Loading branch information
snir911 committed Sep 20, 2022
1 parent d1b95c3 commit 629288f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion install/pre-install-payload/hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion install/runtime-payload/hack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 629288f

Please sign in to comment.