From aed905414eb2f01a43af8c5a6a1d42085a9f5090 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Fri, 3 Dec 2021 10:58:50 +0300 Subject: [PATCH] ci update --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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