Small HTTP server that redirects to artifacts from the latest github release for a project
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112
  1. FROM golang:1.12 AS build
  2. WORKDIR /go/src/app
  3. COPY . .
  4. RUN CGO_ENABLED=0 GO111MODULE=on go install .
  5. FROM scratch
  6. COPY --from=build /go/bin/github-release-redirector /github-release-redirector
  7. COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
  8. ENTRYPOINT ["/github-release-redirector"]