.gitlab-ci.yml 302 Bytes
Newer Older
jcorvi's avatar
jcorvi committed
1 2 3 4 5 6 7 8 9 10 11 12 13
variables:
  DOCKER_USER: javicorvi
  DOCKER_BUILD: $DOCKER_USER/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
stages:
  - build
build_docker_image:
  stage: build
  script:
    - docker login -u javicorvi -p $DOCKER_PASS
    - docker build -t $DOCKER_BUILD .
    - docker push $DOCKER_BUILD
  tags:
    - build