This commit is contained in:
commit
0cc393c1e2
22
.drone.yml
Normal file
22
.drone.yml
Normal 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
7
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user