oki.cx-file-share/.gitlab-ci.yml
2022-06-13 14:29:13 -04:00

16 lines
408 B
YAML

build-test:
image: python:3.9
script:
- python --version
- pip --version
- pip install -r requirements.txt
- echo "pytest needs finishing"
build-docker:
image: docker
services:
- docker:dind
script:
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE