Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX: Fix typo in push_connectors.sh #164

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions scripts/push_connectors.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

# First arg is the Docker image tag on all images
tag=$1
Expand All @@ -10,15 +11,15 @@ docker push analoglabs/connector-astar:latest

if [[ -n "${tag}" ]]; then
echo "Tagging all images: ${tag}";
docker tag analoglabs/connector-bitcoin "analoglabs/connector-bitcoin:${tag}"
docker tag analoglabs/connector-bitcoin:latest "analoglabs/connector-bitcoin:${tag}"
docker push "analoglabs/connector-bitcoin:${tag}"

docker tag analoglabs/connector-ethereum "analoglabs/connector-ethereum:${tag}"
docker tag analoglabs/connector-ethereum:latest "analoglabs/connector-ethereum:${tag}"
docker push "analoglabs/connector-ethereum:${tag}"

docker tag analoglabs/connector-polkadot "analoglabs/connector-polkadot:${tag}"
docker tag analoglabs/connector-polkadot:latest "analoglabs/connector-polkadot:${tag}"
docker push "analoglabs/connector-polkadot:${tag}"

docker tag "analoglabs/connector-astar analoglabs/connector-astar:${tag}"
docker tag analoglabs/connector-astar:latest "analoglabs/connector-astar:${tag}"
docker push "analoglabs/connector-astar:${tag}"
fi