Update .gitlab-ci.yml
This commit is contained in:
parent
a5e167c36d
commit
5ab4dc6072
@ -3,7 +3,6 @@ services:
|
|||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
|
||||||
- release
|
- release
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
@ -13,18 +12,6 @@ variables:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker login -u $DOCKERU -p $DOCKERP
|
- docker login -u $DOCKERU -p $DOCKERP
|
||||||
|
|
||||||
test:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- docker version
|
|
||||||
- docker build -t $CONTAINER_TEST_IMAGE .
|
|
||||||
- echo $CI_PROJECT_DIR
|
|
||||||
- docker run $CONTAINER_TEST_IMAGE $CI_PROJECT_DIR/test.sh
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- dockerbuild
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user