File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ commands:
14
14
- v1-dependencies-{{ checksum "/tmp/checksum.txt" }}
15
15
# fallback to using the latest cache if no exact match is found
16
16
- v1-dependencies-
17
+ docker_login :
18
+ description : " Login to dockerhub with readonly credentials"
19
+ steps :
20
+ - run :
21
+ name : Dockerhub login
22
+ command : echo $DOCKERHUB_PASSWORD | docker login --username $DOCKERHUB_USERNAME --password-stdin
17
23
populate_and_save_cache :
18
24
description : " Downloads all gradle dependencies and uploads cache for later use"
19
25
steps :
70
76
- setup_build_environment
71
77
- setup_remote_docker :
72
78
version : 19.03.13
79
+ - docker_login
73
80
- run : echo "Releasing version" && ./gradlew printVersion
74
81
- run : ./gradlew publish
75
82
- run : DOCKER_TAG=${CIRCLE_TAG} make docker docker-push
You can’t perform that action at this time.
0 commit comments