From 984c26e985883dfe8de78d578e04298118fb9ed3 Mon Sep 17 00:00:00 2001 From: Tom Beynon Date: Thu, 21 Nov 2024 18:37:02 +0000 Subject: [PATCH] Change document.sh OMNIBUS_VERSION to OMNIBUS_IMAGE (#920) Allows find and replace when updating version --- document.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/document.sh b/document.sh index 2aa14ce82..36067bf59 100755 --- a/document.sh +++ b/document.sh @@ -2,7 +2,7 @@ set -e -OMNIBUS_VERSION="v1.0.0" +OMNIBUS_IMAGE="cosmos-omnibus:v1.0.0" if [ "$#" -gt 0 ]; then DIRS="$@" @@ -24,7 +24,7 @@ for dir in $DIRS; do NAMESPACE="${NAMESPACE:-$(echo ${PROJECT_BIN} | tr '[:lower:]' '[:upper:]' | tr '-' '_')}" VERSION=$(yq '.services.node.build.args.VERSION' $dir/build.yml) REPOSITORY=$(yq '.services.node.build.args.REPOSITORY' $dir/build.yml) - IMAGE="ghcr.io/akash-network/cosmos-omnibus:${OMNIBUS_VERSION}-${PROJECT}-${VERSION}" + IMAGE="ghcr.io/akash-network/${OMNIBUS_IMAGE}-${PROJECT}-${VERSION}" CHAIN_JSON="https://raw.githubusercontent.com/cosmos/chain-registry/master/${PROJECT}/chain.json" CHAIN_JSON_EXISTS=false