aboutsummaryrefslogtreecommitdiff
path: root/.github/action
diff options
context:
space:
mode:
authorGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
committerGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-22 15:40:06 +0200
commitddce2bd3c66a62cb96b2b7ef0602c00c586c429b (patch)
treeb5cd3261c2a65fbd131d78b2ecce2f9100a21104 /.github/action
downloadgenpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.gz
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.tar.bz2
genpass-ddce2bd3c66a62cb96b2b7ef0602c00c586c429b.zip
Bootstrap web site
Diffstat (limited to '.github/action')
-rw-r--r--.github/action/Dockerfile15
-rwxr-xr-x.github/action/entrypoint.sh5
2 files changed, 20 insertions, 0 deletions
diff --git a/.github/action/Dockerfile b/.github/action/Dockerfile
new file mode 100644
index 0000000..5a0e30c
--- /dev/null
+++ b/.github/action/Dockerfile
@@ -0,0 +1,15 @@
+FROM clojure:alpine
+
+LABEL version="0.1.0"
+LABEL repository="https://github.com/viniciustozzi/pathfinder_tools.git"
+LABEL homepage="https://github.com/viniciustozzi/pathfinder_tools"
+LABEL maintainer=""
+
+LABEL com.github.actions.name="GitHub Action for lein"
+LABEL com.github.actions.description="Wraps the npm CLI to enable common lein commands."
+LABEL com.github.actions.icon="package"
+LABEL com.github.actions.color="red"
+
+COPY "entrypoint.sh" "/entrypoint.sh"
+ENTRYPOINT ["/entrypoint.sh"]
+CMD ["help"]
diff --git a/.github/action/entrypoint.sh b/.github/action/entrypoint.sh
new file mode 100755
index 0000000..83edd0a
--- /dev/null
+++ b/.github/action/entrypoint.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+sh -c "lein $*"