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