Edit .gitlab-ci.yml
This commit is contained in:
parent
749f9a289d
commit
3d0d9f6f60
|
|
@ -2,19 +2,11 @@ stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
|
||||||
DOCKER_HOST: tcp://docker:2375
|
|
||||||
DOCKER_TLS_CERTDIR: ""
|
|
||||||
DOCKER_DRIVER: overlay2
|
|
||||||
|
|
||||||
build-dev:
|
build-dev:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- shared
|
- shared
|
||||||
image: docker:24.0
|
image: docker:24.0
|
||||||
services:
|
|
||||||
- name: docker:24.0-dind
|
|
||||||
command: ["--insecure-registry=103.82.242.92:8900"]
|
|
||||||
script:
|
script:
|
||||||
- echo "Logging in to private registry..."
|
- echo "Logging in to private registry..."
|
||||||
- docker login -u "$DEPLOY_USERNAME" -p "$DEPLOY_TOKEN" 103.82.242.92:8900
|
- docker login -u "$DEPLOY_USERNAME" -p "$DEPLOY_TOKEN" 103.82.242.92:8900
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue