Docker + CI
This commit is contained in:
parent
49e3b504fc
commit
d7a955b68a
3 changed files with 35 additions and 0 deletions
16
.drone.yml
Normal file
16
.drone.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: ldericher/kind
|
||||||
|
# auto_tag: true
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
FROM python:3.6-alpine3.13
|
||||||
|
|
||||||
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
|
RUN set -ex; \
|
||||||
|
# install prerequisites
|
||||||
|
apk add --no-cache \
|
||||||
|
docker-cli \
|
||||||
|
docker-compose \
|
||||||
|
;
|
||||||
|
|
||||||
|
COPY . /usr/src/kiwi_scp
|
||||||
|
|
||||||
|
RUN set -ex; \
|
||||||
|
pip3 --use-feature=in-tree-build install /usr/src/kiwi_scp
|
||||||
|
|
||||||
|
ENTRYPOINT ["kiwi"]
|
|
@ -1,5 +1,7 @@
|
||||||
# kiwi-scp
|
# kiwi-scp
|
||||||
|
|
||||||
|
[![Build Status](https://github.drone.yavook.de/api/badges/ldericher/kiwi-scp/status.svg)](https://github.drone.yavook.de/ldericher/kiwi-scp)
|
||||||
|
|
||||||
> `kiwi` - simple, consistent, powerful
|
> `kiwi` - simple, consistent, powerful
|
||||||
|
|
||||||
The simple tool for managing container servers
|
The simple tool for managing container servers
|
||||||
|
|
Loading…
Reference in a new issue