Edit .gitlab-ci.yml
This commit is contained in:
parent
25d3276cdc
commit
697eefa90f
|
|
@ -13,10 +13,14 @@ stages:
|
||||||
|
|
||||||
build-2:
|
build-2:
|
||||||
stage: build-image
|
stage: build-image
|
||||||
image: docker/compose:1.29.2
|
when: on_success
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
image:
|
||||||
|
name: docker:25.0.3-cli
|
||||||
services:
|
services:
|
||||||
- name: docker:25.0.3-dind
|
- name: docker:25.0.3-dind
|
||||||
command: ["--insecure-registry=103.31.38.120:8900"]
|
command: [ "--insecure-registry=103.31.38.120:8900" ]
|
||||||
script:
|
script:
|
||||||
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.31.38.120:8900
|
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.31.38.120:8900
|
||||||
- docker-compose build
|
- docker-compose build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue