Skip to content
Snippets Groups Projects
Unverified Commit 5b5c3296 authored by Clemens Beck's avatar Clemens Beck
Browse files

CI: Use gcr mirror in DinD

parent fcd507a1
Branches cb-gcr-mirror
No related merge requests found
......@@ -5,8 +5,9 @@ default:
# `DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --push --platform linux/amd64,linux/arm64 -t <image tag> -f docker/builders/Dockerfile_base_image .`
image: "${CI_REGISTRY_IMAGE}/base-image:latest"
services:
- name: docker:20.10.23-dind
command: ["--experimental"]
- name: docker:28.0.2-dind
alias: docker
entrypoint: [ "sh", "-c", "dockerd-entrypoint.sh $DOCKER_OPTIONS" ]
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- if [ -n "${USE_BUILDX}" ]; then
......@@ -17,3 +18,5 @@ variables:
CANONICAL_PROJECT_PATH: "gitlab-org/gitlab-omnibus-builder"
MIRROR_PROJECT_PATH: "cookbooks/gitlab-omnibus-builder"
ARM64_RUNNER_TAG: 'arm64'
DOCKER_MIRROR: "https://mirror.gcr.io"
DOCKER_OPTIONS: "--registry-mirror ${DOCKER_MIRROR}"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment