-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from lowply/v2
Update to actions v2
- Loading branch information
Showing
3 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
FROM golang:1 | ||
|
||
LABEL "com.github.actions.name"="Issue From Template" | ||
LABEL "com.github.actions.description"="Issue From Template" | ||
LABEL "com.github.actions.icon"="alert-circle" | ||
LABEL "com.github.actions.color"="green" | ||
LABEL "repository"="https://github.com/lowply/issue-from-template" | ||
LABEL "homepage"="https://github.com/lowply/issue-from-template" | ||
LABEL "maintainer"="Sho Mizutani <[email protected]>" | ||
FROM golang:1 as builder | ||
|
||
ENV CGO_ENABLED=0 | ||
ENV GOOS=linux | ||
ENV GOARCH=amd64 | ||
WORKDIR /go/src | ||
COPY src . | ||
RUN GO111MODULE=on go build -o /go/bin/main | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
FROM alpine | ||
RUN apk add --no-cache ca-certificates | ||
RUN update-ca-certificates | ||
COPY --from=builder /go/bin/main /bin/main | ||
ENTRYPOINT main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: 'Issue From Template' | ||
author: 'Sho Mizutani <[email protected]>' | ||
description: 'A GitHub Action that opens an issue from an issue template' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
branding: | ||
icon: 'alert-circle' | ||
color: 'green' |
This file was deleted.
Oops, something went wrong.