Skip to content

Commit a106e63

Browse files
committed
docker login
1 parent c79c948 commit a106e63

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.evergreen/connectivity-tests/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ set -e
66
MONOREPO_ROOT_DIR="$(cd $(dirname "$0")/../..; pwd)"
77
cd $MONOREPO_ROOT_DIR
88

9+
echo "${DOCKERHUB_PASSWORD}" | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
10+
911
echo "building connectivity tests image from ${PWD}"
1012
docker build -t devtools-connectivity-tests --build-arg "NODE_JS_VERSION=$NODE_JS_VERSION" -f "./.evergreen/connectivity-tests/Dockerfile" .
1113
echo "connectivity tests image built"

.evergreen/functions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ variables:
7878
GARASIGN_PASSWORD: ${garasign_password}
7979
ARTIFACTORY_USERNAME: ${artifactory_username}
8080
ARTIFACTORY_PASSWORD: ${artifactory_password}
81+
DOCKERHUB_USERNAME: ${dockerhub_username}
82+
DOCKERHUB_PASSWORD: ${dockerhub_password}
8183

8284
# This is here with the variables because anchors aren't supported across includes
8385
post:

0 commit comments

Comments
 (0)