-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
51 lines (45 loc) · 2.13 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
image: docker:stable
before_script:
- docker info
- docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY
php-7.2:
stage: build
script:
- docker build -t registry.lab.jalameta.co.id/images/php/cli:7.2 7.2/cli/
- docker push registry.lab.jalameta.co.id/images/php/cli:7.2
- docker build -t registry.lab.jalameta.co.id/images/php/fpm:7.2 7.2/fpm/
- docker push registry.lab.jalameta.co.id/images/php/fpm:7.2
- docker build -t registry.lab.jalameta.co.id/images/php/nginx:7.2 7.2/nginx/
- docker push registry.lab.jalameta.co.id/images/php/nginx:7.2
php-7.3:
stage: build
script:
- docker build -t registry.lab.jalameta.co.id/images/php/cli:7.3 7.3/cli/
- docker push registry.lab.jalameta.co.id/images/php/cli:7.3
- docker build -t registry.lab.jalameta.co.id/images/php/fpm:7.3 7.3/fpm/
- docker push registry.lab.jalameta.co.id/images/php/fpm:7.3
- docker build -t registry.lab.jalameta.co.id/images/php/nginx:7.3 7.3/nginx/
- docker push registry.lab.jalameta.co.id/images/php/nginx:7.3
php-7.4:
stage: build
script:
- docker build -t registry.lab.jalameta.co.id/images/php/cli:7.4 7.4/cli/
- docker push registry.lab.jalameta.co.id/images/php/cli:7.4
- docker build -t registry.lab.jalameta.co.id/images/php/fpm:7.4 7.4/fpm/
- docker push registry.lab.jalameta.co.id/images/php/fpm:7.4
- docker build -t registry.lab.jalameta.co.id/images/php/nginx:7.4 7.4/nginx/
- docker push registry.lab.jalameta.co.id/images/php/nginx:7.4
php-8.0:
stage: build
script:
- docker build -t registry.lab.jalameta.co.id/images/php/cli:8.0 8.0/cli/
- docker push registry.lab.jalameta.co.id/images/php/cli:8.0
- docker build -t registry.lab.jalameta.co.id/images/php/fpm:8.0 8.0/fpm/
- docker push registry.lab.jalameta.co.id/images/php/fpm:8.0
- docker build -t registry.lab.jalameta.co.id/images/php/nginx:8.0 8.0/nginx/
- docker push registry.lab.jalameta.co.id/images/php/nginx:8.0
php-arch:
stage: build
script:
- docker build -t registry.lab.jalameta.co.id/images/php:edge arch
- docker push registry.lab.jalameta.co.id/images/php:edge