gitlab
This commit is contained in:
parent
9b4f5f1a75
commit
eae23a097c
@ -48,5 +48,15 @@ deploy-prod:
|
|||||||
TELEGRAM_TOKEN: "$TELEGRAM_TOKEN_PROD"
|
TELEGRAM_TOKEN: "$TELEGRAM_TOKEN_PROD"
|
||||||
script:
|
script:
|
||||||
- docker stack deploy -c ./.deploy/deploy-prod.yaml sprint
|
- 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 build -t mathwave/sprint-runner .
|
||||||
- docker push mathwave/sprint-runner
|
- docker push mathwave/sprint-runner
|
Loading…
Reference in New Issue
Block a user