mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 14:56:40 +00:00
trying circleci
This commit is contained in:
parent
21b359c756
commit
1f30e73cdc
29
config.yaml
Normal file
29
config.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
version: 2.1
|
||||
|
||||
executors:
|
||||
docker-executor:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
|
||||
jobs:
|
||||
build:
|
||||
executor: docker-executor
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker:
|
||||
version: 19.03.13
|
||||
docker_layer_caching: true
|
||||
- run:
|
||||
name: Build Docker Images
|
||||
command: docker-compose build
|
||||
- run:
|
||||
name: Push Docker Images to GitLab
|
||||
command: |
|
||||
export GITLAB_IMAGE_PREFIX=$GITLAB_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
|
||||
docker-compose push
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_push:
|
||||
jobs:
|
||||
- build
|
Loading…
x
Reference in New Issue
Block a user