config inicial

This commit is contained in:
2019-09-18 11:27:42 -03:00
parent 8746fa127e
commit ec14e12c8f
4 changed files with 25 additions and 0 deletions

14
.drone.yml Normal file
View File

@@ -0,0 +1,14 @@
---
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: eumau/drone-plugin-make
auto_tag: true
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*~
\#*
.#*
*.bak

5
Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM alpine
ADD script.sh /bin/
RUN chmod +x /bin/script.sh
RUN apk -Uuv add make
ENTRYPOINT /bin/script.sh

2
script.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
make ${PLUGIN_OPTS}