aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hoyes <Peter.Hoyes@arm.com>2023-03-10 09:53:03 +0000
committerTom Rini <trini@konsulko.com>2023-03-21 15:56:19 -0400
commit5d899f1dcf7f9898b2b5969a1b4da7deeb0ccd37 (patch)
tree4563a9a997a81ed589df383fb3908a95685431a5
parentfde1977971ca2a0c7bac68e60aaa9d7a090928a1 (diff)
downloadu-boot-WIP/2023-03-21-assorted-CI-updates.zip
u-boot-WIP/2023-03-21-assorted-CI-updates.tar.gz
u-boot-WIP/2023-03-21-assorted-CI-updates.tar.bz2
CI: Allow a mirror to be specified for Docker HubWIP/2023-03-21-assorted-CI-updates
To conserve bandwidth and potentially avoid rate limits, allow a local mirror of Docker Hub to be specified globally. The default value is unchanged. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9be92c8..2a42374 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@
variables:
DEFAULT_TAG: ""
+ MIRROR_DOCKER: docker.io
default:
tags:
@@ -9,7 +10,7 @@ default:
# Grab our configured image. The source for this is found
# in the u-boot tree at tools/docker/Dockerfile
-image: trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
+image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
# We run some tests in different order, to catch some failures quicker.
stages: