mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
trying to do two separate images
This commit is contained in:
parent
101da677b2
commit
1e59c4ae4c
@ -1,18 +1,14 @@
|
|||||||
image: python:alpine
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- docs
|
- docs
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_script:
|
|
||||||
- pip install mkdocs
|
|
||||||
- pip install mkdocs-material
|
|
||||||
|
|
||||||
- apk add docker
|
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: docs
|
stage: docs
|
||||||
|
image: python:alpine
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- pip install mkdocs
|
||||||
|
- pip install mkdocs-material
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ./web
|
- cd ./web
|
||||||
@ -27,6 +23,11 @@ pages:
|
|||||||
|
|
||||||
docker build:
|
docker build:
|
||||||
stage: docker
|
stage: docker
|
||||||
|
image: docker
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ./bot
|
- cd ./bot
|
||||||
- docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .
|
- docker build -t registry.gitlab.com/misterbiggs/simple-telegram-bot .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user