Skip to content

Commit

Permalink
PLAT-970: push latest nethermind image to dockerhub (#5230)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsavvy committed May 16, 2023
1 parent 8866f2c commit f439616
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion discovery-provider/chain/Dockerfile.acdc
@@ -1,3 +1,3 @@
FROM nethermind/nethermind:1.14.3
FROM nethermind/nethermind:1.18.0

RUN apt-get update && apt-get -y install curl jq
3 changes: 3 additions & 0 deletions discovery-provider/chain/README.md
@@ -0,0 +1,3 @@
# ACDC

To push latest ACDC version use publish.sh script.
16 changes: 16 additions & 0 deletions discovery-provider/chain/publish.sh
@@ -0,0 +1,16 @@
#!/bin/bash
if [ -z "$1" ]
then
echo "no version arg supplied"
exit 1
fi

tag=$1
imagename="audius/nethermind"
imagetag="${imagename}:${tag}"

echo "Publishing audius nethermind version $imagetag to dockerhub";
echo "Login with audius dockerhub credentials";

docker login
docker buildx build --platform linux/amd64,linux/arm64 -f Dockerfile.acdc -t $imagetag --push .

0 comments on commit f439616

Please sign in to comment.