Skip to content

Commit 6cc9b57

Browse files
committed
Add action.yml
1 parent ac8c9b8 commit 6cc9b57

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM golang:1.13
2+
#AS build
3+
4+
WORKDIR /go/src/app
5+
COPY . /go/src/app
6+
RUN go get -d -v ./...
7+
RUN go build -o /go/bin/github-labeler main.go
8+
9+
# FROM busybox
10+
# COPY --from=build /go/bin/app /github-labeler
11+
12+
ENTRYPOINT ["/go/bin/github-labeler"]

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'github-labeler'
2+
description: 'Declarative way to configure GitHub labels'
3+
inputs:
4+
manifest:
5+
description: 'Path to YAML file which defines GitHub labels'
6+
required: false
7+
default: '.github/labels.yml'
8+
runs:
9+
using: 'docker'
10+
image: 'Dockerfile'

0 commit comments

Comments
 (0)