summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-02-17 18:32:55 +0100
committerlouiz’ <louiz@louiz.org>2017-02-17 18:32:55 +0100
commit724b7bf8e912f241770c3a9a6e9a3941b0922a9c (patch)
tree47e5641a89549e5cc38bd2554149fa3cba902a24
parent6c35f49dd8c0a8f8add13c177660e65c64e649eb (diff)
downloadbiboumi-724b7bf8e912f241770c3a9a6e9a3941b0922a9c.tar.gz
biboumi-724b7bf8e912f241770c3a9a6e9a3941b0922a9c.tar.bz2
biboumi-724b7bf8e912f241770c3a9a6e9a3941b0922a9c.tar.xz
biboumi-724b7bf8e912f241770c3a9a6e9a3941b0922a9c.zip
ci: Add a packaging:docker job that builds and push to the image docker.io
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac6f2bf..fb172ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -180,3 +180,14 @@ packaging:deb:
artifacts:
untracked: true
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