Work around docker manifests not properly deleting/updating by removing all local manifest cache

Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
Adam Hill 2018-12-13 19:06:02 -06:00
parent b3beb91b52
commit e8b23bc582
No known key found for this signature in database
GPG Key ID: 2193804FCA429855
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ echo "branch: $branch"
[[ -n "$dry" ]] && echo "DRY RUN: $dry"
echo "Example tagging: docker tag ${localimg}:armhf ${remoteimg}:${version}_amd64"
if [[ -z "$dry" ]] ; then
echo "Deleting all manifest data to work around cached old copies preventing updates"
rm -rf ~/.docker/manifests/*
fi
$dry tox
images=()