From a469f28267c01ec947dc1b949fbbf604ee8dac14 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Thu, 14 Mar 2019 16:15:41 -0700 Subject: [PATCH] hack: fix tagging latest images on release Signed-off-by: Tonis Tiigi --- hack/images | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/images b/hack/images index 1e72fcc8..ed1e4c6c 100755 --- a/hack/images +++ b/hack/images @@ -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