@@ -143,16 +143,12 @@ commands:
143
143
144
144
docker_publish_images :
145
145
description : " Upload the docker images"
146
- parameters :
147
- include_commit_hash :
148
- type : boolean
149
- default : false
150
146
steps :
151
147
- run :
152
148
name : " Publish Docker Images"
153
149
command : |
154
150
docker login --username "${DOCKER_USER_RW}" --password "${DOCKER_PASSWORD_RW}"
155
- ./gradlew --no-daemon --parallel "-Pbranch=${CIRCLE_BRANCH} -PincludeCommitHash=<< parameters.include_commit_hash >>" uploadDocker
151
+ ./gradlew --no-daemon --parallel "-Pbranch=${CIRCLE_BRANCH} -PincludeCommitHash=<< pipeline. parameters.include_commit_hash >>" uploadDocker
156
152
157
153
notify :
158
154
description : " Notify Slack"
@@ -161,6 +157,12 @@ commands:
161
157
mentions : " team-centaur"
162
158
fail_only : true
163
159
only_for_branches : ' master'
160
+
161
+ parameters :
162
+ include_commit_hash :
163
+ type : boolean
164
+ default : false
165
+
164
166
jobs :
165
167
assemble :
166
168
executor : large_executor
@@ -445,8 +447,7 @@ jobs:
445
447
- attach_workspace :
446
448
at : ~/project
447
449
- docker_trust_sign
448
- - docker_publish_images :
449
- include_commit_hash : << parameters.include_commit_hash >>
450
+ - docker_publish_images
450
451
- notify
451
452
452
453
publishDockerArm64 :
@@ -460,8 +461,7 @@ jobs:
460
461
- attach_workspace :
461
462
at : ~/project
462
463
- docker_trust_sign
463
- - docker_publish_images :
464
- include_commit_hash : << parameters.include_commit_hash >>
464
+ - docker_publish_images
465
465
- notify
466
466
467
467
manifestDocker :
@@ -511,7 +511,7 @@ jobs:
511
511
paths :
512
512
- .openapidoc/spec/teku.json
513
513
514
- # longish story here: we store the openapi json spec in the `gh-pages` branch of teku on Github
514
+ # longish story here: we store the openapi json spec in the `gh-pages` branch of teku on Github
515
515
# The reason we don't use GHA and instead use Circle to push to GHA is:
516
516
# 1. We need assemble -> extractAPISpec -> publishAPISpec and this takes circa 10 mins to build in GHA,
517
517
# 2. We publish artifacts (openapi, docker, binaries etc) only after ALL tests and we can't check for all the jobs passing to kick this one off
0 commit comments