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: ...@@ -4,9 +4,10 @@ stages:
variables: variables:
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_URL_CUSTOM: http://git.infra:4567
before_script: 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: build:
stage: build stage: build
...@@ -14,8 +15,8 @@ build: ...@@ -14,8 +15,8 @@ build:
services: services:
- docker:dind - docker:dind
script: script:
- docker build -t git.poka.website:4567/destream-public/destream-blockchain . - docker build -t ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain .
- docker push git.poka.website:4567/destream-public/destream-blockchain - docker push ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain
environment: environment:
name: ${CI_COMMIT_REF_NAME} name: ${CI_COMMIT_REF_NAME}
only: 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