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: #242
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
  • Loading branch information
snir911 authored and bpradipt committed Sep 21, 2022
1 parent d1b95c3 commit eefc469
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 eefc469

Please sign in to comment.