From 0cc393c1e29a67d72b95e2a8aa99a241ce23a8b0 Mon Sep 17 00:00:00 2001 From: Christoph Honal Date: Thu, 13 Feb 2020 10:31:49 +0100 Subject: [PATCH] Test --- .drone.yml | 22 ++++++++++++++++++++++ Dockerfile | 7 +++++++ run.sh | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile create mode 100644 run.sh diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c3f6fbf --- /dev/null +++ b/.drone.yml @@ -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 ] \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d8174c4 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..b3ee2ee --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Hello CI!" \ No newline at end of file