Commit c64e44ff authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent b0c39909
Pipeline #15 failed with stage
in 14 seconds
......@@ -4,9 +4,10 @@ stages:
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_URL_CUSTOM: http://git.infra:4567
before_script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${DOCKER_URL_CUSTOM}
build:
stage: build
......@@ -14,8 +15,8 @@ build:
services:
- docker:dind
script:
- docker build -t git.poka.website:4567/destream-public/destream-blockchain .
- docker push git.poka.website:4567/destream-public/destream-blockchain
- docker build -t ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain .
- docker push ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain
environment:
name: ${CI_COMMIT_REF_NAME}
only:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment