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: ...@@ -7,7 +7,7 @@ variables:
DOCKER_URL_CUSTOM: git.infra:4567 DOCKER_URL_CUSTOM: git.infra:4567
before_script: 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: build:
stage: build stage: build
...@@ -15,8 +15,8 @@ build: ...@@ -15,8 +15,8 @@ build:
services: services:
- docker:dind - docker:dind
script: script:
- docker build -t ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain . - docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
- docker push ${DOCKER_URL_CUSTOM}/destream-public/destream-blockchain - docker push ${CI_REGISTRY}/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