Skip to content

Commit b2c45c3

Browse files
authored
Merge pull request #352 from rsksmart/feature/GBI-2851
LBC Deployer docker image
2 parents 4ed2146 + a6db91a commit b2c45c3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ WORKDIR /home/node
1111
COPY --chown=node:node package.json \
1212
package-lock.json \
1313
deploy.sh \
14+
.solhintignore \
1415
.solhint.json \
1516
hardhat.config.ts \
1617
tsconfig.json \

deploy.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/bin/bash
22

3-
npm config set //npm.pkg.github.com/:_authToken "$GITHUB_TOKEN"
4-
53
npx hardhat run scripts/deployment/deploy-lbc.ts --network "$NETWORK_NAME"
64
npx hardhat run scripts/deployment/upgrade-lbc.ts --network "$NETWORK_NAME"
75

8-
LBC_ADDRESS=$(jq -r '.rskRegtest.LiquidityBridgeContract.address' ./addresses.json)
6+
LBC_ADDRESS=$(jq -r '.[env.NETWORK_NAME].LiquidityBridgeContract.address' ./addresses.json)
97
echo "LBC_ADDRESS=$LBC_ADDRESS"

0 commit comments

Comments
 (0)