first ci try

This commit is contained in:
jem 2020-11-13 09:31:49 +01:00
parent 2bb7abda04
commit e64336b2e8

View file

@ -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