ci: added automated docker image building and upload (#413)

This commit is contained in:
Roshan Syed 2021-03-31 09:29:27 -03:00 committed by GitHub
parent 0b0718f739
commit 2c396f6b19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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