-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
617bf55
commit a976f8b
Showing
2 changed files
with
49 additions
and
16 deletions.
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
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,5 +1,25 @@ | ||
#!/bin/sh | ||
docker push analoglabs/connector-bitcoin | ||
docker push analoglabs/connector-ethereum | ||
docker push analoglabs/connector-polkadot | ||
docker push analoglabs/connector-astar | ||
|
||
# First arg is the Docker image tag on all images | ||
tag=$1 | ||
|
||
docker push analoglabs/connector-bitcoin:latest | ||
docker push analoglabs/connector-ethereum:latest | ||
docker push analoglabs/connector-polkadot:latest | ||
docker push analoglabs/connector-astar:latest | ||
|
||
if [ ! -z "$tag" ]; then | ||
echo "Tagging all images: $tag"; | ||
docker tag analoglabs/connector-bitcoin analoglabs/connector-bitcoin:$tag | ||
docker push analoglabs/connector-bitcoin:$tag | ||
|
||
docker tag analoglabs/connector-ethereum analoglabs/connector-ethereum:$tag | ||
docker push analoglabs/connector-ethereum:$tag | ||
|
||
docker tag analoglabs/connector-polkadot analoglabs/connector-polkadot:$tag | ||
docker push analoglabs/connector-polkadot:$tag | ||
|
||
docker tag analoglabs/connector-astar analoglabs/connector-astar:$tag | ||
docker push analoglabs/connector-astar:$tag | ||
fi | ||
|