feat: update gitlab ci
This commit is contained in:
parent
e520e64fcd
commit
f0622be664
|
|
@ -9,12 +9,13 @@ build-dev:
|
|||
- main
|
||||
image: docker:stable
|
||||
services:
|
||||
- docker:dind
|
||||
- name: docker:dind
|
||||
command: ["--insecure-registry=103.82.242.92:8900"]
|
||||
script:
|
||||
- docker logout
|
||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN registry.gitlab.com
|
||||
- docker build -t registry.gitlab.com/hanifsalafi/web-humas-polri:dev .
|
||||
- docker push registry.gitlab.com/hanifsalafi/web-humas-polri:dev
|
||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900
|
||||
- docker build -t 103.82.242.92:8900/humas/web-humas-fe:dev .
|
||||
- docker push 103.82.242.92:8900/humas/web-humas-fe:dev
|
||||
|
||||
auto-deploy:
|
||||
stage: deploy
|
||||
|
|
|
|||
Loading…
Reference in New Issue