mirror of https://github.com/k3s-io/k3s
Merge pull request #67161 from dims/remove-local-manifest-list-after-push
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove the local manifest list after push **What this PR does / why we need it**: Manifests seem sticky in docker, so let's try to purge so if we have re-push a fresh set of containers (with same version number as before) during testing, the manifests are created fresh. Change-Id: I41c010c08bd50b68ff6973a4ae1e004824fab178 **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```pull/8/head
commit
5158c181f9
|
@ -112,7 +112,7 @@ push() {
|
|||
for arch in ${archs}; do
|
||||
docker manifest annotate --arch ${arch} ${REGISTRY}/${IMAGE}:${TAG} ${REGISTRY}/${IMAGE}-${arch}:${TAG}
|
||||
done
|
||||
docker manifest push ${REGISTRY}/${IMAGE}:${TAG}
|
||||
docker manifest push --purge ${REGISTRY}/${IMAGE}:${TAG}
|
||||
}
|
||||
|
||||
# This function is for building the go code
|
||||
|
|
Loading…
Reference in New Issue