gotty/.circleci/config.yml
2022-08-17 18:42:13 +02:00

24 lines
592 B
YAML

version: 2
jobs:
build:
docker:
- image: circleci/python:3
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
version: 20.10.14
- run:
name: Build Gotty Image
command: |
DOCKER_TAG=$CIRCLE_BRANCH-$CIRCLE_BUILD_NUM
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker build -t honestica/gotty-v2:$DOCKER_TAG .
docker push honestica/gotty-v2:$DOCKER_TAG
workflows:
version: 2
build:
jobs:
- build:
context: org-global