Skip to content

Commit 3ad64bc

Browse files
committed
CI: support sepcify docker image tag with bot
1 parent 597ce3b commit 3ad64bc

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ before_script:
7575

7676
build_template_app:
7777
stage: build
78-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
78+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
7979
tags:
8080
- build
8181
variables:
@@ -102,7 +102,7 @@ build_template_app:
102102

103103
.build_template: &build_template
104104
stage: build
105-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
105+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
106106
tags:
107107
- build
108108
variables:
@@ -182,7 +182,7 @@ build_examples_06:
182182

183183
build_docs:
184184
stage: build
185-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
185+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
186186
tags:
187187
- build_docs
188188
artifacts:
@@ -204,7 +204,7 @@ build_docs:
204204

205205
test_nvs_on_host:
206206
stage: test
207-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
207+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
208208
tags:
209209
- nvs_host_test
210210
dependencies: []
@@ -214,7 +214,7 @@ test_nvs_on_host:
214214

215215
test_partition_table_on_host:
216216
stage: test
217-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
217+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
218218
tags:
219219
- build
220220
dependencies: []
@@ -224,7 +224,7 @@ test_partition_table_on_host:
224224

225225
test_wl_on_host:
226226
stage: test
227-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
227+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
228228
tags:
229229
- wl_host_test
230230
artifacts:
@@ -237,7 +237,7 @@ test_wl_on_host:
237237

238238
test_multi_heap_on_host:
239239
stage: test
240-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
240+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
241241
tags:
242242
- wl_host_test
243243
script:
@@ -246,7 +246,7 @@ test_multi_heap_on_host:
246246

247247
test_build_system:
248248
stage: test
249-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
249+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
250250
tags:
251251
- build_test
252252
dependencies: []
@@ -259,7 +259,7 @@ test_build_system:
259259

260260
test_report:
261261
stage: test_report
262-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
262+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
263263
tags:
264264
- report
265265
only:
@@ -313,7 +313,7 @@ test_report:
313313

314314
push_master_to_github:
315315
stage: deploy
316-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
316+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
317317
tags:
318318
- deploy
319319
only:
@@ -343,7 +343,7 @@ push_master_to_github:
343343

344344
deploy_docs:
345345
stage: deploy
346-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
346+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
347347
tags:
348348
- deploy
349349
only:
@@ -370,7 +370,7 @@ deploy_docs:
370370

371371
check_doc_links:
372372
stage: test
373-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
373+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
374374
tags:
375375
- check_doc_links
376376
only:
@@ -390,7 +390,7 @@ check_doc_links:
390390

391391
check_commit_msg:
392392
stage: deploy
393-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
393+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
394394
tags:
395395
- build
396396
except:
@@ -407,7 +407,7 @@ check_commit_msg:
407407

408408
check_submodule_sync:
409409
stage: deploy
410-
image: $CI_DOCKER_REGISTRY/esp32-ci-env
410+
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
411411
tags:
412412
- build
413413
except:

0 commit comments

Comments
 (0)