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