forked from e2guardian/e2guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
41 lines (37 loc) · 799 Bytes
/
.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
workflow:
rules:
- if: $CI_COMMIT_BRANCH
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
stages:
# At first debian : init variables
- quality
- build-debian
- create-package-debian
- test-publish-debian
### All
- build
- create-package
- test-publish
# AMD64 docker
- Docker-hub-build
- Docker-hub-test
- Docker-hub-pushtag
# ARM docker
- Docker-hub-build-arm
- Docker-hub-test-arm
- Docker-hub-pushtag-arm
hadolint:
image: hadolint/hadolint:latest-debian
stage: quality
before_script:
- cd $CI_PROJECT_DIR
script:
- hadolint --ignore DL3008 gitlabci/docker-ci/Dockerfile
include:
- 'gitlabci/debianlatest.yml'
- 'gitlabci/docker-hub-arm.yml'
- 'gitlabci/docker-hub.yml'
- 'gitlabci/ubuntujammy.yml'
- 'gitlabci/armdebian.yml'
- 'gitlabci/ubuntufocal.yml'