Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalaji committed Jan 22, 2025
1 parent 25e2436 commit 284fca0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ REGISTRY_URI="/hyperlane-registry"
# Only update registry if REGISTRY_COMMIT is set
if [ -n "$REGISTRY_COMMIT" ]; then
echo "Updating Hyperlane registry to commit: ${REGISTRY_COMMIT}"
pushd "$REGISTRY_URI"
OLDPWD=$(pwd)
cd "$REGISTRY_URI"
git fetch origin "$REGISTRY_COMMIT"
git checkout "$REGISTRY_COMMIT"
popd
cd "$OLDPWD"
fi

# Execute the main container command
Expand Down

0 comments on commit 284fca0

Please sign in to comment.