mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
19 lines
556 B
YAML
19 lines
556 B
YAML
|
version: 2
|
||
|
jobs:
|
||
|
build:
|
||
|
working_directory: ~/build
|
||
|
docker:
|
||
|
- image: circleci/golang:latest
|
||
|
steps:
|
||
|
- checkout
|
||
|
- setup_remote_docker:
|
||
|
version: 17.05.0-ce
|
||
|
- run: make image
|
||
|
- deploy: |
|
||
|
if [[ "$CIRCLE_BRANCH" == "master" ]]; then
|
||
|
docker tag ctop quay.io/vektorlab/ctop:latest
|
||
|
docker tag ctop quay.io/vektorlab/ctop:$(cat VERSION)
|
||
|
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
|
||
|
docker push quay.io/vektorlab/ctop
|
||
|
fi
|