From 93d25a349f7346e775786057966b4f296a1948ae Mon Sep 17 00:00:00 2001 From: Andrew Keesler Date: Fri, 22 Jan 2021 08:33:24 -0500 Subject: [PATCH] hack: fix docker most recent tag check I think this stopped working when we starting using a specific registry in e0b94f47. Signed-off-by: Andrew Keesler --- hack/prepare-for-integration-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/prepare-for-integration-tests.sh b/hack/prepare-for-integration-tests.sh index 8eb07b54..4ac811a2 100755 --- a/hack/prepare-for-integration-tests.sh +++ b/hack/prepare-for-integration-tests.sh @@ -136,7 +136,7 @@ if ! tilt_mode; then tag=$(uuidgen) # always a new tag to force K8s to reload the image on redeploy if [[ "$skip_build" == "yes" ]]; then - most_recent_tag=$(docker images "$repo" --format "{{.Tag}}" | head -1) + most_recent_tag=$(docker images "$registry/$repo" --format "{{.Tag}}" | head -1) if [[ -n "$most_recent_tag" ]]; then tag="$most_recent_tag" do_build=no