Skip to content

Commit

Permalink
debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yourmoonlight committed Oct 28, 2023
1 parent 0eaa653 commit ae1076a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
if [ "$STATUS" != "running" ]; then
echo "Container $CONTAINER_ID is not running, trying to clean data and restart"
echo "Start cleaning the data with image_tag: $IMAGE_TAG"
docker run --rm -v "/root:/root" ghcr.io/rooch-network/rooch:$IMAGE_TAG server clean -n dev
echo "Start cleaning the data with image_tag: $(echo $IMAGE_TAG)"
docker run --rm -v "/root:/root" ghcr.io/rooch-network/rooch:$(echo $IMAGE_TAG) server clean -n dev
rm -rf ~/.rooch
docker run --rm -v "/root:/root" ghcr.io/rooch-network/rooch:$IMAGE_TAG init -m "$DEV_MNEMONIC_PHRASE" --skip-password
docker run --rm -v "/root:/root" ghcr.io/rooch-network/rooch:$(echo $IMAGE_TAG) init -m "$(echo $DEV_MNEMONIC_PHRASE)" --skip-password
docker start $CONTAINER_ID
if [ $? -eq 0 ]; then
echo "Container $CONTAINER_ID Successfully restarted."
Expand Down

0 comments on commit ae1076a

Please sign in to comment.