mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
24 lines
513 B
YAML
24 lines
513 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
environment:
|
|
IMAGE_NAME: quay.io/vektorlab/ctop
|
|
|
|
dependencies:
|
|
override:
|
|
- docker info
|
|
- docker build --build-arg CTOP_VERSION=$(cat VERSION) -t ctop .
|
|
|
|
test:
|
|
override:
|
|
- docker run -ti ctop -v
|
|
|
|
deployment:
|
|
hub:
|
|
branch: master
|
|
commands:
|
|
- docker tag ctop ${IMAGE_NAME}:latest
|
|
- docker tag ctop ${IMAGE_NAME}:$(cat VERSION)
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
|
|
- docker push ${IMAGE_NAME}
|