From 4cb67b5097fec95c0e736626766c97824d20f3ee Mon Sep 17 00:00:00 2001 From: Christian Schulze Date: Sun, 5 Mar 2023 22:57:39 +0100 Subject: [PATCH] feat: added missing dockerfile and runs.using configuration --- Dockerfile | 5 +++++ action.yml | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..625b27f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM golang:1.19 +WORKDIR /src +COPY . . +RUN go build -o /bin/app . +ENTRYPOINT ["/bin/app"] \ No newline at end of file diff --git a/action.yml b/action.yml index 53ce4c1..332e4d7 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,10 @@ name: Gitea Release Drafter author: Christian Schulze description: "automates release notes as a draft release whenever a pull request finds it's way into the default branch of your repository" +runs: + using: docker + image: Dockerfile inputs: config-path: - description: 'Path of the configuration file for the drafter action' - required: false \ No newline at end of file + description: "Path of the configuration file for the drafter action" + required: false