From 29567d41f328781b8ee7029a494557a06ddbada5 Mon Sep 17 00:00:00 2001 From: ludamad Date: Mon, 25 Sep 2023 13:31:49 +0100 Subject: [PATCH] ecr login --- build-system/scripts/extract_repo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-system/scripts/extract_repo b/build-system/scripts/extract_repo index 30a71b661cac..ecae3c84152c 100755 --- a/build-system/scripts/extract_repo +++ b/build-system/scripts/extract_repo @@ -9,7 +9,8 @@ EXTRACT_TO=${3:-./} IMAGE_COMMIT_URI=$(calculate_image_uri $REPOSITORY) echo "Pulling $IMAGE_COMMIT_URI..." -retry docker pull $IMAGE_COMMIT_URI > /dev/null 2>&1 +ecr_login +retry docker pull $IMAGE_COMMIT_URI TEMP_CONTAINER=$(docker create $IMAGE_COMMIT_URI) echo "Extracting $EXTRACT_FROM from $REPOSITORY to $EXTRACT_TO..."