hack: fix tagging latest images on release

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-19.03
Tonis Tiigi 2019-03-14 16:15:41 -07:00
parent c35410878a
commit a469f28267
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ imageDockerCommon() {
docker push $REPO:$TAG-rootless
set +x
fi
if [[ "gitTag" == "$TAG" ]]; then
if [[ "$gitTag" == "$TAG" ]]; then
set -x
docker tag $REPO:$TAG $REPO:latest
docker tag $REPO:$TAG-rootless $REPO:rootless
@ -71,7 +71,7 @@ image() {
tagLatest=""
tagLatestRootless=""
if [[ "gitTag" == "$TAG" ]]; then
if [[ "$gitTag" == "$TAG" ]]; then
tagLatest=",$REPO:latest"
tagLatestRootless=",$REPO:rootless"
fi