-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
60 lines (52 loc) · 1.15 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
stages:
- install
- build
- docker
- post
variables:
GO_VERSION: 1.23-alpine
DOCKER_IMAGE_NAME: cenk1cenk2/vizier
include:
- project: devops/pipes
file: /templates/go.gitlab-ci.yml
- project: devops/pipes
file: /templates/v2/docker-build-dockerhub.gitlab-ci.yml
- project: devops/pipes
file: /templates/v2/docker-manifest-dockerhub.gitlab-ci.yml
- project: devops/pipes
file: /templates/v2/update-docker-hub-readme.gitlab-ci.yml
docker-build:
stage: docker
extends: .docker-build-dockerhub
variables:
DOCKER_IMAGE_TAGS: latest-$GITLAB_CI_ARCH
DOCKER_MANIFEST_TARGET: latest
parallel:
matrix:
- GITLAB_CI_ARCH:
- amd64
- arm64
dependencies:
- build
only:
refs:
- main
docker-manifest:
stage: post
extends: .docker-manifest-dockerhub
dependencies:
- docker-build
only:
refs:
- main
update-docker-hub-readme:
stage: post
extends: .update-docker-hub-readme
variables:
README_DESCRIPTION: |
A very basic and dirty supervisor for multiple tasks running inside a Docker container.
dependencies: []
only:
refs:
- main