Skip to content

Commit

Permalink
Change document.sh OMNIBUS_VERSION to OMNIBUS_IMAGE (#920)
Browse files Browse the repository at this point in the history
Allows find and replace when updating version
  • Loading branch information
tombeynon authored Nov 21, 2024
1 parent 740596a commit 984c26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

OMNIBUS_VERSION="v1.0.0"
OMNIBUS_IMAGE="cosmos-omnibus:v1.0.0"

if [ "$#" -gt 0 ]; then
DIRS="$@"
Expand All @@ -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
Expand Down

0 comments on commit 984c26e

Please sign in to comment.