Skip to content

Commit 19512b0

Browse files
committed
authenticate
1 parent 8f7be85 commit 19512b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ci/scripts/run-build-from-ci.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ echo "::add-matcher::src/ci/github-actions/problem_matchers.json"
1616
# with the cargotest step and its auto-detection of things like Clippy in
1717
# the environment
1818
rustup self uninstall -y || true
19+
20+
# Authenticate to the public ECR registry. See https://gallery.ecr.aws/.
21+
# The region `us-east-1` is the only allowed value by aws to authenticate to ECR.
22+
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
23+
1924
if [ -z "${IMAGE+x}" ]; then
2025
src/ci/run.sh
2126
else

0 commit comments

Comments
 (0)