diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5959a0..39bfd2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,5 +48,15 @@ deploy-prod: TELEGRAM_TOKEN: "$TELEGRAM_TOKEN_PROD" script: - docker stack deploy -c ./.deploy/deploy-prod.yaml sprint + +build-dockerfile: + extends: + - .deploy + stage: deploy-prod + tags: + - main + only: + - master + script: - docker build -t mathwave/sprint-runner . - - docker push mathwave/sprint-runner + - docker push mathwave/sprint-runner \ No newline at end of file