~singpolyma/biboumi

724b7bf8e912f241770c3a9a6e9a3941b0922a9c ā€” louizā€™ 6 years ago 6c35f49
ci: Add a packaging:docker job that builds and push to the image docker.io
1 files changed, 11 insertions(+), 0 deletions(-)

M .gitlab-ci.yml
M .gitlab-ci.yml => .gitlab-ci.yml +11 -0
@@ 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