ci: add docker release workflow (#2985)

This commit is contained in:
Bjerg
2023-06-05 19:22:31 +02:00
committed by GitHub
parent e1148c81a7
commit 643b3811c2
3 changed files with 96 additions and 1 deletions

12
Dockerfile.cross Normal file
View File

@ -0,0 +1,12 @@
# This image is meant to enable cross-architecture builds.
# It assumes the reth binary has already been compiled for `$TARGETPLATFORM` and is
# locatable in `./dist/bin/$TARGETARCH`
FROM --platform=$TARGETPLATFORM ubuntu:22.04
# Filled by docker buildx
ARG TARGETARCH
COPY ./dist/bin/$TARGETARCH/reth /usr/local/bin/reth
EXPOSE 30303 30303/udp 9000 8545 8546
ENTRYPOINT ["/usr/local/bin/reth", "node"]