Test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Christoph Honal 2020-02-13 10:31:49 +01:00
commit 0cc393c1e2
3 changed files with 32 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
kind: pipeline
name: default
steps:
- name: build
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.chrz.de:443/hello-ci
registry: registry.chrz.de:443
dry_run: true
- name: notify
image: drillster/drone-email
host: smtp
port: 25
skip_verify: true
from: drone@chrz.de
when:
status: [ success, failure ]

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM alpine
RUN apk update && apk add bash
COPY run.sh /app/run.sh
RUN chmod +x /app/run.sh
CMD ["/app/run.sh"]

3
run.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
echo "Hello CI!"