1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00

turns out building docker containers in CI is hard

This commit is contained in:
Anson 2019-03-22 22:26:32 -07:00
parent 98571f6b08
commit fe6ffc053e

View File

@ -1,5 +1,4 @@
stages: stages:
- docker
- docs - docs
pages: pages:
@ -19,17 +18,4 @@ pages:
paths: paths:
- public - public
only: only:
- master - documentation
docker build:
stage: docker
image: docker
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- sudo systemctl start docker
script:
- cd ./bot
- docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .
- docker push registry.gitlab.com/misterbiggs/simple-telegram-bot