feat(ci): add op-reth to release workflow (#8132)

This commit is contained in:
Dan Cline
2024-05-08 10:26:48 -04:00
committed by GitHub
parent bdb8238d79
commit 331d1a0c6a
4 changed files with 80 additions and 11 deletions

15
DockerfileOp.cross Normal file
View File

@ -0,0 +1,15 @@
# 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
LABEL org.opencontainers.image.source=https://github.com/paradigmxyz/reth
LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"
# Filled by docker buildx
ARG TARGETARCH
COPY ./dist/bin/$TARGETARCH/op-reth /usr/local/bin/op-reth
EXPOSE 30303 30303/udp 9001 8545 8546
ENTRYPOINT ["/usr/local/bin/op-reth"]