mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 03:43:54 +01:00
Add Docker Hub credentials to system tests task
Closes gh-35213
This commit is contained in:
@@ -20,6 +20,10 @@ run:
|
||||
args:
|
||||
- -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
|
||||
start_docker $DOCKER_HUB_MIRROR
|
||||
${PWD}/git-repo/ci/scripts/run-system-tests.sh
|
||||
|
||||
Reference in New Issue
Block a user