Skip to content

Commit

Permalink
Fix release script to handle distroless tags correctly (istio#15154)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0d1ngm0nk3y authored and istio-testing committed Jun 26, 2019
1 parent 00a4815 commit e495830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/gcb/docker_tag_push_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ function docker_tag_images() {
docker load -i "${TAR_PATH}"
DOCKER_OUT=$(docker load -i "${TAR_PATH}")
SRC_HUB=$(echo "$DOCKER_OUT" | cut -f 2 -d : | xargs dirname)
SRC_TAG=$(echo "$DOCKER_OUT" | cut -f 3 -d :)
SRC_TAG_WITH_VARIANT=$(echo "$DOCKER_OUT" | cut -f 3 -d :)


docker tag "${SRC_HUB}/${IMAGE_NAME}:${SRC_TAG}${VARIANT_NAME}" \
docker tag "${SRC_HUB}/${IMAGE_NAME}:${SRC_TAG_WITH_VARIANT}" \
"${DST_HUB}/${IMAGE_NAME}:${DST_TAG}${VARIANT_NAME}"
done
}
Expand Down

0 comments on commit e495830

Please sign in to comment.