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:
- build
- test
- deploy2test
build:
......@@ -11,11 +12,31 @@ build:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- env
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
- docker push ${CI_REGISTRY}/destream-public/destream-blockchain
environment:
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:
- test
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