[ci] Make ecr authenticate non blocking (#40305)

Signed-off-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Kevin H. Luu
2026-04-19 15:37:53 -07:00
committed by GitHub
parent f150107efd
commit 629d45eacb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ REPO=$2
BUILDKITE_COMMIT=$3
# authenticate with AWS ECR
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin "$REGISTRY"
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin "$REGISTRY" || true
# skip build if image already exists
if [[ -z $(docker manifest inspect "$REGISTRY"/"$REPO":"$BUILDKITE_COMMIT"-cpu) ]]; then