fix:docker & jenkins ip
This commit is contained in:
parent
7ca78f6650
commit
9b60d9af8b
|
|
@ -12,12 +12,12 @@ build-dev:
|
|||
image: docker:25.0.3-cli
|
||||
services:
|
||||
- name: docker:25.0.3-dind
|
||||
command: ["--insecure-registry=103.82.242.92:8900"]
|
||||
command: ["--insecure-registry=38.47.185.86: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/humas/web-humas-fe:dev .
|
||||
- docker push 103.82.242.92:8900/humas/web-humas-fe:dev
|
||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 38.47.185.86:8900
|
||||
- docker build -t 38.47.185.86:8900/humas/web-humas-fe:dev .
|
||||
- docker push 38.47.185.86:8900/humas/web-humas-fe:dev
|
||||
|
||||
auto-deploy:
|
||||
stage: deploy
|
||||
|
|
@ -30,4 +30,4 @@ auto-deploy:
|
|||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- curl --user admin:$JENKINS_PWD http://103.31.38.120:8080/job/autodeploy-humas/build?token=autodeployhumas
|
||||
- curl --user admin:$JENKINS_PWD http://38.47.185.86:8080/job/autodeploy-humas/build?token=autodeployhumas
|
||||
|
|
|
|||
Loading…
Reference in New Issue