Commit 7243ba94 authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent cf08853f
Pipeline #33 failed with stages
in 2 minutes and 50 seconds
stages: stages:
- build - build
- test
- deploy2test - deploy2test
build: build:
...@@ -11,11 +12,31 @@ build: ...@@ -11,11 +12,31 @@ build:
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
script: script:
- env
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY} - docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain . - docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
- docker push ${CI_REGISTRY}/destream-public/destream-blockchain - docker push ${CI_REGISTRY}/destream-public/destream-blockchain
environment: environment:
name: ${CI_COMMIT_REF_NAME} name: ${CI_COMMIT_REF_NAME}
url: https://xvideos.com
only:
- test
tags:
- buidl1-dind
test:
stage: test
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker build -f Dockerfile-Tests .
environment:
name: ${CI_COMMIT_REF_NAME}
url: https://xvideos.com
only: only:
- test - test
tags: tags:
......
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