Skip to content

Commit 7913bbc

Browse files
committed
also login for start-atlas-local
1 parent 26f05e3 commit 7913bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/start-atlas-local.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ cleanup() {
1919

2020
trap cleanup EXIT
2121

22+
echo "Logging in to docker"
23+
echo "${DOCKERHUB_PASSWORD}" | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
24+
2225
# Image name with version
2326
IMAGE_NAME="mongodb/mongodb-atlas-local:$ATLAS_LOCAL_VERSION"
2427
echo docker run --rm --name $CONTAINER_NAME -d -e DO_NOT_TRACK=1 -P "$IMAGE_NAME"

0 commit comments

Comments
 (0)