push runner

This commit is contained in:
Administrator 2022-08-18 19:20:07 +03:00
parent 6a827c0188
commit d165f8d384

View File

@ -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