Update .gitlab-ci.yml
This commit is contained in:
parent
a5e167c36d
commit
5ab4dc6072
@ -3,7 +3,6 @@ services:
|
||||
- docker:dind
|
||||
|
||||
stages:
|
||||
- test
|
||||
- release
|
||||
|
||||
variables:
|
||||
@ -13,18 +12,6 @@ variables:
|
||||
before_script:
|
||||
- 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:
|
||||
stage: release
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user