.gitlab-ci.yml 350 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
image: 'clarinpl/python:2.7'

build_image:
  image: 'docker:18.09.7'
  only:
    - master
  services:
    - 'docker:18.09.7-dind'
  script:
    - docker build -t clarinpl/iobber .
    - echo $DOCKER_PASSWORD > pass.txt
    - cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
    - rm pass.txt
    - docker push clarinpl/iobber