feat: update gitlab ci

This commit is contained in:
hanif salafi 2025-04-28 23:32:06 +07:00
parent aca5e5e119
commit 595d09eb81
1 changed files with 3 additions and 3 deletions

View File

@ -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