Skip to content

Commit 8673f28

Browse files
authored
fix(ci3): log into dockerhub
Suspiciously long docker pulls indicate that we are being throttled.
1 parent a24c341 commit 8673f28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci3/bootstrap_ec2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ container_script=$(
136136
ci_log_id=\$(log_ci_run)
137137
export PARENT_LOG_URL=${PARENT_LOG_URL:-http://ci.aztec-labs.com/\$ci_log_id}
138138
139+
if [ -z "${DOCKERHUB_PASSWORD:-}" ]; then
140+
echo $DOCKERHUB_PASSWORD | docker login -u aztecprotocolci --password-stdin
141+
fi
142+
139143
# Heartbeat.
140144
while true; do redis_cli SETEX hb-\$ci_log_id 60 1 &>/dev/null || true; sleep 30; done &
141145

0 commit comments

Comments
 (0)