fix: change ip docker image

This commit is contained in:
Sabda Yagra 2025-12-26 16:14:10 +07:00
parent 1ee379df71
commit 3d23d75e05
1 changed files with 4 additions and 4 deletions

View File

@ -12,12 +12,12 @@ build-dev:
name: docker:25.0.3-cli
services:
- name: docker:25.0.3-dind
command: ["--insecure-registry=103.31.38.120:8900"]
command: ["--insecure-registry=38.47.185.86:8900"]
script:
- docker logout
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.31.38.120:8900
- docker build -t 103.31.38.120:8900/mediahub/new-mediahub-fe:dev .
- docker push 103.31.38.120:8900/mediahub/new-mediahub-fe:dev
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 38.47.185.86:8900
- docker build -t 38.47.185.86:8900/mediahub/new-mediahub-fe:dev .
- docker push 38.47.185.86:8900/mediahub/new-mediahub-fe:dev
auto-deploy:
stage: deploy