Skip to content

Commit e7578f0

Browse files
committed
Add Docker Hub credentials to system tests task
Closes gh-35213
1 parent de2df93 commit e7578f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/tasks/run-system-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ run:
2020
args:
2121
- -ec
2222
- |
23+
mkdir -p /root/.docker
24+
cat > /root/.docker/config.json <<EOF
25+
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
26+
EOF
2327
source /docker-lib.sh
2428
start_docker $DOCKER_HUB_MIRROR
2529
${PWD}/git-repo/ci/scripts/run-system-tests.sh

0 commit comments

Comments
 (0)