new ip docker image
This commit is contained in:
parent
5407da9771
commit
b785c0a2c2
|
|
@ -12,22 +12,21 @@ build-dev:
|
||||||
image: docker:25.0.3-cli
|
image: docker:25.0.3-cli
|
||||||
services:
|
services:
|
||||||
- name: docker:25.0.3-dind
|
- name: docker:25.0.3-dind
|
||||||
command: ["--insecure-registry=103.82.242.92:8900"]
|
command: ["--insecure-registry=38.47.185.86:8900"]
|
||||||
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 38.47.185.86:8900
|
||||||
- docker build -t 103.82.242.92:8900/humas/web-humas-fe:prod .
|
- docker build -t 38.47.185.86:8900/humas/web-humas-fe:prod .
|
||||||
- docker push 103.82.242.92:8900/humas/web-humas-fe:prod
|
- docker push 38.47.185.86:8900/humas/web-humas-fe:prod
|
||||||
|
# auto-deploy:
|
||||||
auto-deploy:
|
# stage: deploy
|
||||||
stage: deploy
|
# when: on_success
|
||||||
when: on_success
|
# only:
|
||||||
only:
|
# - main
|
||||||
- main
|
# - dev-restructure
|
||||||
- dev-restructure
|
# - dev-main
|
||||||
- dev-main
|
# image: curlimages/curl:latest
|
||||||
image: curlimages/curl:latest
|
# services:
|
||||||
services:
|
# - docker:dind
|
||||||
- docker:dind
|
# script:
|
||||||
script:
|
# - curl --user admin:$JENKINS_PWD http://38.47.180.165:8080/job/autodeploy-humas/build?token=autodeployhumas
|
||||||
- curl --user admin:$JENKINS_PWD http://38.47.180.165:8080/job/autodeploy-humas/build?token=autodeployhumas
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue