Simplicy test build
This commit is contained in:
parent
8700cda294
commit
27678ed650
@ -14,21 +14,3 @@ test:
|
|||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- docker run short-build -v
|
- docker run short-build -v
|
||||||
- docker tag short-build tandrade/short:latest
|
|
||||||
deploy:
|
|
||||||
before_script:
|
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- docker push tandrade/short:latest
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
release:
|
|
||||||
before_script:
|
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
|
|
||||||
stage: release
|
|
||||||
script:
|
|
||||||
- docker tag short-build tandrade/short:$DOCKER_TAG
|
|
||||||
- docker push tandrade/short:$DOCKER_TAG
|
|
||||||
only:
|
|
||||||
- tags
|
|
Loading…
x
Reference in New Issue
Block a user