mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-23 07:52:23 +00:00
Add docker build to CI
This commit is contained in:
parent
b5c1289358
commit
819795c1f9
@ -1,7 +1,18 @@
|
||||
stages:
|
||||
- build_docker_image
|
||||
- test
|
||||
- quality-assurance
|
||||
|
||||
docker:
|
||||
stage: build_docker_image
|
||||
script:
|
||||
- docker login -u $CI_REGISTRY_USERNAME -p $CI_BUILD_TOKEN
|
||||
- docker build -t $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME .
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME
|
||||
only:
|
||||
- master
|
||||
- beta
|
||||
|
||||
# Debian Buster
|
||||
py37-django22:
|
||||
stage: test
|
||||
|
Loading…
Reference in New Issue
Block a user