Skip to content

Commit d9bca72

Browse files
committed
Use Docker Hub mirror consistently on CI and avoid unneeded log in
Closes gh-31070
1 parent fb2075d commit d9bca72

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

ci/pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ anchors:
1313
GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username))
1414
GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password))
1515
docker-hub-task-params: &docker-hub-task-params
16-
DOCKER_HUB_USERNAME: ((docker-hub-username))
17-
DOCKER_HUB_PASSWORD: ((docker-hub-password))
16+
DOCKER_HUB_MIRROR: ((docker-hub-mirror))
1817
github-task-params: &github-task-params
1918
GITHUB_REPO: spring-boot
2019
GITHUB_ORGANIZATION: spring-projects

ci/scripts/common.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ if [[ -d $PWD/embedmongo && ! -d $HOME/.embedmongo ]]; then
55
ln -s "$PWD/embedmongo" "$HOME/.embedmongo"
66
fi
77

8-
if [[ -n $DOCKER_HUB_USERNAME ]]; then
9-
docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
10-
fi
11-
128
cleanup_maven_repo "org.springframework.boot"

0 commit comments

Comments
 (0)