diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28f4044..11844fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - build - deploy-dev - deploy-prod + - push-runner build: stage: build @@ -51,5 +52,15 @@ deploy-prod: TELEGRAM_TOKEN: "$TELEGRAM_TOKEN_PROD" script: - docker stack deploy -c ./.deploy/deploy-prod.yaml sprint + +push-runner: + extends: + - .deploy + stage: push-runner + tags: + - prod + only: + - master + script: - docker build -t mathwave/sprint-runner . - docker push mathwave/sprint-runner \ No newline at end of file