erigon-pulse/cmd/release/Dockerfile
Max Revitt bf1d08c8cc
feat(release): github action, build script, and release manager (#6818)
- [x] setup infra
- [x] provide readme
- [x] setup secrets (keys) for infra
- [x] resolve todos
- [x] remove unnecessary test actions triggers
- [x] update go path (should be installed on runner properly - unlike my
self hosted quick setup)
- [x] provide docs on using checksum and signature to verify the binary
2023-03-03 10:11:28 +00:00

19 lines
362 B
Docker

FROM docker.io/library/golang:1.20-alpine3.17 AS builder
WORKDIR /app
ADD go.mod go.mod
ADD go.sum go.sum
RUN go mod download
ADD . .
ARG GITHUB_TOKEN
RUN go build -o releaser main.go
RUN ./releaser --github-token=$GITHUB_TOKEN
FROM nginx:1.21.3-alpine
COPY page /usr/share/nginx/html
COPY --from=builder /app/releases.json /usr/share/nginx/html/data.json