File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1- FROM golang:latest
2- WORKDIR /app
3- COPY go.mod go.sum ./
4- RUN go mod download
5- COPY main.go .
6- RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o github-action-to-otlp .
1+ FROM codeboten/github-action-to-otlp:v1
72
8- FROM alpine:latest
9- RUN apk --no-cache add ca-certificates
10- WORKDIR /root/
11- COPY --from=0 /app/github-action-to-otlp .
123ENTRYPOINT ["/root/github-action-to-otlp" ]
Original file line number Diff line number Diff line change 1+ FROM golang:latest
2+ WORKDIR /app
3+ COPY go.mod go.sum ./
4+ RUN go mod download
5+ COPY main.go .
6+ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o github-action-to-otlp .
7+
8+ FROM alpine:latest
9+ RUN apk --no-cache add ca-certificates
10+ WORKDIR /root/
11+ COPY --from=0 /app/github-action-to-otlp .
12+ ENTRYPOINT ["/root/github-action-to-otlp"]
You can’t perform that action at this time.
0 commit comments