diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b547496..f6113a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,12 +15,11 @@ build: script: - docker build --cache-from=mathwave/sprint-repo:sprint -t mathwave/sprint-repo:sprint . - docker push mathwave/sprint-repo:sprint - after_script: - - docker image rm mathwave/sprint-repo:sprint .deploy: before_script: - docker login -u mathwave -p $DOCKERHUB_PASSWORD + - docker image rm mathwave/sprint-repo:sprint script: - docker pull mathwave/sprint-repo:sprint - docker-compose up -d