From 1e59c4ae4c3b9bf8189419aeaeb7e45a0bba3759 Mon Sep 17 00:00:00 2001 From: Anson Date: Fri, 22 Mar 2019 18:26:48 -0700 Subject: [PATCH] trying to do two separate images --- .gitlab-ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66f2309..cb3d517 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,14 @@ -image: python:alpine - stages: - docs - docker -before_script: - - pip install mkdocs - - pip install mkdocs-material - - - apk add docker - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - pages: stage: docs + image: python:alpine + + before_script: + - pip install mkdocs + - pip install mkdocs-material script: - cd ./web @@ -27,6 +23,11 @@ pages: docker build: stage: docker + image: docker + + before_script: + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + script: - cd ./bot - docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .