-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
58 lines (52 loc) · 1.69 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
stages:
- build
servercore-2004:
stage: build
script:
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
- docker build -f Dockerfile-2004 --isolation=hyperv -t ncareau/sonarscanner-msbuild-windowsdocker:2004 .
- docker push ncareau/sonarscanner-msbuild-windowsdocker:2004
only:
- master
tags:
- docker-windows-shell
servercore-1909:
stage: build
script:
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
- docker build -f Dockerfile-1909 --isolation=hyperv -t ncareau/sonarscanner-msbuild-windowsdocker:1909 .
- docker push ncareau/sonarscanner-msbuild-windowsdocker:1909
only:
- master
tags:
- docker-windows-shell
servercore-1903:
stage: build
script:
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
- docker build -f Dockerfile-1903 --isolation=hyperv -t ncareau/sonarscanner-msbuild-windowsdocker:1903 .
- docker push ncareau/sonarscanner-msbuild-windowsdocker:1903
only:
- master
tags:
- docker-windows-shell
servercore-2019ltsc:
stage: build
script:
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
- docker build -f Dockerfile-ltsc2019 --isolation=hyperv -t ncareau/sonarscanner-msbuild-windowsdocker:ltsc2019 .
- docker push ncareau/sonarscanner-msbuild-windowsdocker:ltsc2019
only:
- master
tags:
- docker-windows-shell
servercore-2016ltsc:
stage: build
script:
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
- docker build -f Dockerfile-ltsc2016 --isolation=hyperv -t ncareau/sonarscanner-msbuild-windowsdocker:ltsc2016 .
- docker push ncareau/sonarscanner-msbuild-windowsdocker:ltsc2016
only:
- master
tags:
- docker-windows-shell