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
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- publish
|
||||
|
||||
services:
|
||||
- docker:19.03.12-dind
|
||||
|
||||
|
@ -9,7 +14,9 @@ before_script:
|
|||
build:
|
||||
stage: build
|
||||
script:
|
||||
- docker pull ubuntu:latest || true
|
||||
#- 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
|
||||
#- docker push $CI_REGISTRY_IMAGE:latest
|
||||
- cd infrastrucure/docker && pyb image
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- cd infrastrucure/docker && pyb image
|
||||
|
|
Loading…
Reference in a new issue