ci: added automated docker image building and upload (#413)
This commit is contained in:
parent
0b0718f739
commit
2c396f6b19
1 changed files with 12 additions and 0 deletions
|
|
@ -29,6 +29,18 @@ build:
|
|||
tags:
|
||||
- builder
|
||||
|
||||
dockerize:
|
||||
stage: build
|
||||
script:
|
||||
- docker build . -t $DOCKER_REPO:$CI_COMMIT_REF_NAME
|
||||
- docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- docker push $DOCKER_REPO:$CI_COMMIT_REF_NAME
|
||||
- docker logout
|
||||
tags:
|
||||
- builder
|
||||
when: manual
|
||||
timeout: 3h
|
||||
|
||||
test:
|
||||
stage: test
|
||||
dependencies:
|
||||
|
|
|
|||
Loading…
Reference in a new issue