-
Notifications
You must be signed in to change notification settings - Fork 409
/
.gitlab-ci.yml
44 lines (40 loc) · 1.07 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_BUILDKIT: 1
CI_DISPOSABLE_ENVIRONMENT: "true"
BULLSEYE_IMAGE: debian:bullseye@sha256:4d6ab716de467aad58e91b1b720f0badd7478847ec7a18f66027d0f8a329a43c
IMAGE_BASE: blockstream/esplora-base
IMAGE: blockstream/esplora
DOCKERHUB_ESPLORA_URL: "https://hub.docker.com/v2/repositories/blockstream/esplora/tags/"
default:
image: docker:27
services:
- name: docker:27-dind
command: ["dockerd", "--host=tcp://0.0.0.0:2375"]
alias: "docker"
before_script:
- docker info
- docker buildx create
--driver=docker-container
--name=buildkit-builder
--use
--platform linux/amd64,linux/arm64
tags:
- cloud
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- stuck_or_timeout_failure
stages:
- build
include:
- "gitlab/**.yml"
## disables MR-triggered pipelines and allows only branch-triggered pipelines
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always