File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .git /
2+ .github /
3+ images /
4+ testdata /
5+
6+ .gitignore
7+ .ldignore
8+ action.yml
9+ CODEOWNERS
10+
11+ * .md
12+ Makefile
Original file line number Diff line number Diff line change 1+ FROM --platform=$BUILDPLATFORM golang:alpine AS builder
2+ ARG TARGETOS
3+ ARG TARGETARCH
4+
5+ ENV GO111MODULE=on
6+ WORKDIR /app
7+
8+ COPY . .
9+
10+ RUN go mod download
11+ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build .
12+
113FROM golang:alpine
14+
215LABEL com.github.actions.name="LaunchDarkly Find Flags"
316LABEL com.github.actions.description="Flags"
417LABEL homepage="https://www.launchdarkly.com"
518
619RUN apk update
720RUN apk add --no-cache git
821
9- RUN mkdir /app
10- WORKDIR /app
11- COPY . .
12- ENV GO111MODULE=on
13- RUN go mod download
14- RUN go build .
15-
16-
22+ COPY --from=builder /app/find-code-references-in-pull-request /usr/bin
1723
18- ENTRYPOINT ["/app/ find-code-references-in-pull-request" ]
24+ ENTRYPOINT ["find-code-references-in-pull-request" ]
You can’t perform that action at this time.
0 commit comments