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