ci: Add a packaging:docker job that builds and push to the image docker.io

This commit is contained in:
louiz’
2017-02-17 18:32:55 +01:00
parent 6c35f49dd8
commit 724b7bf8e9
+11
View File
@@ -180,3 +180,14 @@ packaging:deb:
artifacts: artifacts:
untracked: true untracked: true
name: $CI_PROJECT_NAME-deb-$CI_BUILD_ID name: $CI_PROJECT_NAME-deb-$CI_BUILD_ID
packaging:docker:
stage: packaging
only:
- master@louiz/biboumi
tags:
- docker-in-docker
script:
- docker login -p $DOCKER_PASSWORD -u louiz -e none@none docker.io
- docker build -t docker.io/louiz/biboumi docker/biboumi
- docker push docker.io/louiz/biboumi