Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLAT-970: push latest nethermind image to dockerhub (#5230)
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ACDC | ||
|
||
To push latest ACDC version use publish.sh script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 . |