gitlab-build-images/.gitlab-ci.yml
2022-09-27 09:17:36 +00:00

32 lines
728 B
YAML

# we support merge request workflow only
include:
- local: '.gitlab/ci/*.yml'
workflow:
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
default:
image: ${BASE_BUILD_REGISTRY_IMAGE}/debian-bullseye-slim:docker-20.10.14-buildx-0.8
services:
- docker:20.10.14-dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
tags:
- gitlab-org-docker
stages:
- custom
- gitlab
- gitlab-assets
- gitlab-review-app
- gitaly
- automation
variables:
DOCKER_HOST: tcp://docker:2375
BASE_BUILD_REGISTRY_IMAGE: registry.gitlab.com/gitlab-org/gitlab-build-images
cache-chrome-chromium:
extends: .cache-google-chrome