diff --git a/build-system/scripts/build b/build-system/scripts/build index c82e6bde0a6..e7b73b03e06 100755 --- a/build-system/scripts/build +++ b/build-system/scripts/build @@ -53,6 +53,8 @@ function try_fetch_image() { # Login to ECR and ensure repository exists. retry ensure_repo $REPOSITORY $ECR_REGION refresh_lifecycle +# Login to dockerhub. +retry dockerhub_login CONTENT_HASH=$(calculate_content_hash $REPOSITORY) echo "Content hash: $CONTENT_HASH"