Skip to content

Commit fdd028d

Browse files
committed
Merge branch '2.2.x' into 2.3.x
Closes gh-24039
2 parents 84cee76 + d3ea48b commit fdd028d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ci/pipeline.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ anchors:
1212
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
1313
GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username))
1414
GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password))
15+
docker-hub-task-params: &docker-hub-task-params
16+
DOCKER_HUB_USERNAME: ((docker-hub-username))
17+
DOCKER_HUB_PASSWORD: ((docker-hub-password))
1518
github-task-params: &github-task-params
1619
GITHUB_REPO: spring-boot
1720
GITHUB_ORGANIZATION: spring-projects
@@ -37,6 +40,7 @@ anchors:
3740
params:
3841
BRANCH: ((branch))
3942
<<: *gradle-enterprise-task-params
43+
<<: *docker-hub-task-params
4044
artifactory-repo-put-params: &artifactory-repo-put-params
4145
repo: libs-snapshot-local
4246
folder: distribution-repository
@@ -415,6 +419,7 @@ jobs:
415419
params:
416420
RELEASE_TYPE: M
417421
<<: *gradle-enterprise-task-params
422+
<<: *docker-hub-task-params
418423
- put: artifactory-repo
419424
params:
420425
<<: *artifactory-repo-put-params
@@ -434,6 +439,7 @@ jobs:
434439
params:
435440
RELEASE_TYPE: RC
436441
<<: *gradle-enterprise-task-params
442+
<<: *docker-hub-task-params
437443
- put: artifactory-repo
438444
params:
439445
<<: *artifactory-repo-put-params
@@ -453,6 +459,7 @@ jobs:
453459
params:
454460
RELEASE_TYPE: RELEASE
455461
<<: *gradle-enterprise-task-params
462+
<<: *docker-hub-task-params
456463
- put: artifactory-repo
457464
params:
458465
<<: *artifactory-repo-put-params

ci/scripts/common.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ 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+
812
cleanup_maven_repo "org.springframework.boot"

0 commit comments

Comments
 (0)