Skip to content

Commit

Permalink
feat: Adding dockerfiles
Browse files Browse the repository at this point in the history
This will allow them to be ran within a pipeline
  • Loading branch information
jackstockley89 committed Jan 12, 2022
1 parent 313af39 commit bdd50a4
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assignee/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM golang:1.17

WORKDIR /go/src/app
COPY . .

RUN go get -d -v ./...
RUN go install -v ./...
RUN go build .

CMD ["assignee"]
6 changes: 6 additions & 0 deletions assignee/assignee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: close-pr
description: closes the current pull request.

runs:
using: 'docker'
image: 'Dockerfile'
10 changes: 10 additions & 0 deletions close-pr/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM golang:1.17

WORKDIR /go/src/app
COPY . .

RUN go get -d -v ./...
RUN go install -v ./...
RUN go build .

CMD ["close-pr"]
6 changes: 6 additions & 0 deletions close-pr/close-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: assignee
description: assigns reviewer to a pull request.

runs:
using: 'docker'
image: 'Dockerfile'

0 comments on commit bdd50a4

Please sign in to comment.