-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
22 lines (21 loc) · 946 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
stages:
- ui
- api
api-image:
stage: api
script:
- echo "building boluswizard/api image"
- export PAT=JscJAxSWqyqCQtPYhq_3
- echo $PAT | docker login registry.nated.io -u nate --password-stdin
- docker build -t registry.nated.io/phosphorusmyesophagus/boluswizard/api:v$(cat ./VERSION) ./api -f ./api/api.dockerfile
- docker push registry.nated.io/phosphorusmyesophagus/boluswizard/api:v$(cat ./VERSION)
- echo "image boluswizard/api was built succesfully."
ui-image:
stage: ui
script:
- echo "building boluswizard/ui image"
- export PAT=JscJAxSWqyqCQtPYhq_3
- echo $PAT | docker login registry.nated.io -u nate --password-stdin
- docker build -t registry.nated.io/phosphorusmyesophagus/boluswizard/ui:v$(cat ./VERSION) ./ui -f ./ui/ui.dockerfile
- docker push registry.nated.io/phosphorusmyesophagus/boluswizard/ui:v$(cat ./VERSION)
- echo "image boluswizard/ui was built succesfully."