diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..cadf4e8 --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4858447 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +\#* +.#* +*.bak diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6af9c3b --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/script.sh b/script.sh new file mode 100644 index 0000000..60a5030 --- /dev/null +++ b/script.sh @@ -0,0 +1,2 @@ +#!/bin/sh +make ${PLUGIN_OPTS}