first ci try
This commit is contained in:
parent
2bb7abda04
commit
e64336b2e8
1 changed files with 11 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
||||||
image: docker:19.03.12
|
image: docker:19.03.12
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
- publish
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker:19.03.12-dind
|
- docker:19.03.12-dind
|
||||||
|
|
||||||
|
@ -9,7 +14,9 @@ before_script:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- docker pull ubuntu:latest || true
|
- cd infrastrucure/docker && pyb image
|
||||||
#- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
|
|
||||||
#- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
test:
|
||||||
#- docker push $CI_REGISTRY_IMAGE:latest
|
stage: test
|
||||||
|
script:
|
||||||
|
- cd infrastrucure/docker && pyb image
|
||||||
|
|
Loading…
Reference in a new issue