This commit is contained in:
Anang Yusman 2025-12-29 19:38:34 +08:00
parent 355c086353
commit 4b815b4e5a
1 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,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/medols/web-arah-negeri:dev .
- docker push 103.31.38.120:8900/medols/web-arah-negeri:dev
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 38.47.185.86:8900
- docker build -t 38.47.185.86:8900/medols/web-arah-negeri:dev .
- docker push 38.47.185.86:8900/medols/web-arah-negeri:dev
auto-deploy:
stage: deploy