diff --git a/Dockerfile b/Dockerfile index 2fbd8a7..5de9073 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,3 @@ FROM alpine:3.10.1 -LABEL "com.github.actions.name"="Create Zip File" -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/action.yml b/action.yml new file mode 100644 index 0000000..88777c8 --- /dev/null +++ b/action.yml @@ -0,0 +1,15 @@ +name: Create Zip File +author: Monte Hellawell +description: Create a zip file containing specific files from your repository +inputs: + args: + description: zip or unzip, followed by the relevant options + required: true +runs: + using: 'docker' + image: 'Dockerfile' + args: + - ${{ inputs.args }} +branding: + icon: 'folder-plus' + color: 'gray-dark'