Commit 69b708e1 authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent 66c30baf
Pipeline #18 failed with stage
in 15 seconds
......@@ -7,7 +7,7 @@ variables:
DOCKER_URL_CUSTOM: git.infra:4567
before_script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${DOCKER_URL_CUSTOM}
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
build:
stage: build
......@@ -15,8 +15,8 @@ build:
services:
- docker:dind
script:
- docker build -t ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain .
- docker push ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain
- docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
- docker push ${CI_REGISTRY}/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