diff options
author | louiz’ <louiz@louiz.org> | 2017-02-17 18:32:55 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-02-17 18:32:55 +0100 |
commit | 724b7bf8e912f241770c3a9a6e9a3941b0922a9c (patch) | |
tree | 47e5641a89549e5cc38bd2554149fa3cba902a24 | |
parent | 6c35f49dd8c0a8f8add13c177660e65c64e649eb (diff) | |
download | biboumi-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.yml | 11 |
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 |