-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
69 lines (60 loc) · 1.33 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
61
62
63
64
65
66
67
68
69
stages:
- install
- build
- docker
- post
variables:
DOCKER_IMAGE_NAME: cenk1cenk2/node-fnm
NODE_VERSION: 20-alpine
include:
- project: devops/pipes
file: /templates/node.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
build:
artifacts:
paths:
- supervisor/dist/
- supervisor/oclif.manifest.json
docker-build:
stage: docker
extends: .docker-build-dockerhub
dependencies:
- build
parallel:
matrix:
- DOCKERFILE_NAME: Dockerfile
DOCKER_IMAGE_TAGS: latest-${GITLAB_CI_ARCH}
DOCKER_MANIFEST_TARGET: latest
GITLAB_CI_ARCH:
- amd64
- arm64
only:
refs:
- schedules
- master
docker-manifest:
stage: post
extends: .docker-manifest-dockerhub
dependencies:
- docker-build
only:
refs:
- schedules
- master
update-docker-hub-readme:
stage: post
extends: .update-docker-hub-readme
dependencies:
- build
variables:
README_DESCRIPTION: |
Monorepo aimed Node development container that hosts FNM in a container.
only:
refs:
- schedules
- master