Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Aug 25, 2023
1 parent 4429265 commit 2bd8138
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Build and update image
on:
push:
branches:
- generator-imagefix
- master
- generator*
paths:
- subnet/deployment-generator/**
tags:
Expand Down
2 changes: 1 addition & 1 deletion subnet/deployment-generator/script/gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ function genCommands(num_machines, network_name, network_id, num_subnet, keys){
commands+=` docker compose --env-file docker-compose.env --profile ${machine_name} up -d\n\n` //composeV2
}

commands+=`\nmachine1: deploy checkpoint smart contract\n`
commands+=`\nmachine1: deploy checkpoint smart contract (please be mindful of docker image tag if you are not using 'latest' \n`
commands+=` docker run --env-file docker.env \\
-v $(pwd)/generated/deployment.json:/app/generated/deployment.json \\
--entrypoint 'bash' xinfinorg/subnet-generator:latest ./deploy_csc.sh \n` //how to inject version other than latest??
Expand Down

0 comments on commit 2bd8138

Please sign in to comment.