From 26378c050c1582aa20268b07e33b1acbb9699cc1 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Fri, 6 Sep 2019 03:07:42 +0900 Subject: [PATCH] add: action.yml --- .dockerignore | 1 + Dockerfile | 9 --------- action.yml | 9 +++++++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 action.yml diff --git a/.dockerignore b/.dockerignore index e64b7f8..0d23581 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,5 @@ .github LICENSE README.md +action.yml images diff --git a/Dockerfile b/Dockerfile index ff9018e..5518f09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,5 @@ FROM golang:1.13.0-buster -LABEL "com.github.actions.name"="Hugo action" -LABEL "com.github.actions.description"="GitHub Actions for Hugo extended and Hugo Modules" -LABEL "com.github.actions.icon"="package" -LABEL "com.github.actions.color"="yellow" - -LABEL "repository"="https://github.com/peaceiris/actions-hugo" -LABEL "homepage"="https://github.com/peaceiris/actions-hugo" -LABEL "maintainer"="peaceiris" - ENV HUGO_VERSION='0.58.0' ENV HUGO_NAME="hugo_extended_${HUGO_VERSION}_Linux-64bit" ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_NAME}.tar.gz" diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..118664a --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +name: 'Hugo build action' +description: 'GitHub Actions for Hugo extended and Hugo Modules' +author: 'peaceiris' +runs: + using: 'docker' + image: 'Dockerfile' +branding: + icon: 'package' + color: 'yellow'