feat: update gitlab ci
This commit is contained in:
parent
aca5e5e119
commit
595d09eb81
|
|
@ -8,7 +8,7 @@ build-dev:
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
- dev-restructure
|
- dev-restructure
|
||||||
- dev-main
|
- prod
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
services:
|
services:
|
||||||
- name: docker:dind
|
- name: docker:dind
|
||||||
|
|
@ -16,8 +16,8 @@ build-dev:
|
||||||
script:
|
script:
|
||||||
- docker logout
|
- docker logout
|
||||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900
|
- 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 build -t 103.82.242.92:8900/humas/web-humas-fe:prod .
|
||||||
- docker push 103.82.242.92:8900/humas/web-humas-fe:dev
|
- docker push 103.82.242.92:8900/humas/web-humas-fe:prod
|
||||||
|
|
||||||
auto-deploy:
|
auto-deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue