From 08bde72db5bca175badfdb7bba72b9877de5cfde Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 17 May 2022 11:08:41 +0100 Subject: [PATCH] Polish DockerHub and mirror configuration See gh-31070 --- ci/pipeline.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index e75cf52988..2629ababbf 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -8,12 +8,18 @@ anchors: username: ((docker-hub-username)) password: ((docker-hub-password)) tag: ((milestone)) + registry_mirror: + host: ((docker-hub-mirror)) + username: ((docker-hub-mirror-username)) + password: ((docker-hub-mirror-password)) gradle-enterprise-task-params: &gradle-enterprise-task-params GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key)) GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username)) GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password)) docker-hub-task-params: &docker-hub-task-params DOCKER_HUB_MIRROR: ((docker-hub-mirror)) + DOCKER_HUB_USERNAME: ((docker-hub-username)) + DOCKER_HUB_PASSWORD: ((docker-hub-password)) github-task-params: &github-task-params GITHUB_REPO: spring-boot GITHUB_ORGANIZATION: spring-projects @@ -38,7 +44,6 @@ anchors: file: git-repo/ci/tasks/build-project.yml params: BRANCH: ((branch)) - DOCKER_HUB_MIRROR: ((docker-hub-mirror)) <<: *gradle-enterprise-task-params <<: *docker-hub-task-params artifactory-repo-put-params: &artifactory-repo-put-params