From d3ed86d7789c3dadfd850c9eadf4054c357efe47 Mon Sep 17 00:00:00 2001 From: Monte Hellawell Date: Thu, 18 Jul 2019 12:03:22 +0100 Subject: [PATCH] Initial commit --- Dockerfile | 12 ++++++++++++ README.md | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..386a71e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.10.1 + +LABEL "com.github.actions.name"="ZIP" +LABEL "com.github.actions.description"="Create a zip file containing specific files from your repository" +LABEL "com.github.actions.icon"="folder-plus" +LABEL "com.github.actions.color"="gray-dark" + +LABEL "repository"="https://github.com/montudor/action-zip" +LABEL "homepage"="https://github.com/montudor/action-zip" +LABEL "maintainer"="Monte Hellawell " + +RUN apk add zip diff --git a/README.md b/README.md new file mode 100644 index 0000000..c85ff79 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Zip Files Action + +This GitHub action exposes the zip command for use in building/archiving. + +## Usage + +An example action config is displayed below: + +``` +action "Zip" { + uses = "montudor/action-zip@v0.1.0" + args = "zip -r output.zip ./path_to_files" +} +```