This commit is contained in:
Anang Yusman 2025-12-24 18:40:16 +08:00
parent 1761010341
commit 355c086353
1 changed files with 5 additions and 5 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.82.242.92:8900"]
command: ["--insecure-registry=103.31.38.120:8900"]
script:
- docker logout
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.82.242.92:8900
- docker build -t 103.82.242.92:8900/medols/web-arah-negeri:dev .
- docker push 103.82.242.92:8900/medols/web-arah-negeri:dev
- 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
auto-deploy:
stage: deploy
@ -27,4 +27,4 @@ auto-deploy:
services:
- docker:dind
script:
- curl --user admin:$JENKINS_PWD http://103.31.38.120:8080/job/auto-deploy-arah-negeri/build?token=autodeploymedols
- curl --user admin:$JENKINS_PWD http://38.47.185.86:8080/job/auto-deploy-arah-negeri/build?token=autodeploymedols