Add Docker Hub credentials to system tests task

Closes gh-35213
pull/35401/head
Andy Wilkinson 2 years ago
parent de2df9311c
commit e7578f0595

@ -20,6 +20,10 @@ run:
args: args:
- -ec - -ec
- | - |
mkdir -p /root/.docker
cat > /root/.docker/config.json <<EOF
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
EOF
source /docker-lib.sh source /docker-lib.sh
start_docker $DOCKER_HUB_MIRROR start_docker $DOCKER_HUB_MIRROR
${PWD}/git-repo/ci/scripts/run-system-tests.sh ${PWD}/git-repo/ci/scripts/run-system-tests.sh

Loading…
Cancel
Save