Skip to content

Commit b538663

Browse files
committed
update cicd and start script
1 parent 092e76f commit b538663

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
- generator*
88
paths:
9-
- deployment-generator/**
9+
- container-manager/**
1010
tags:
1111
- '*'
1212
workflow_dispatch: #allow manual trigger to workflow
@@ -18,7 +18,7 @@ jobs:
1818
environment: DockerHub
1919
defaults:
2020
run:
21-
working-directory: deployment-generator
21+
working-directory: container-manager/src
2222
steps:
2323
- name: Check out code
2424
uses: actions/checkout@v3

container-manager/start.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ docker run -d \
1717
-v /var/run/docker.sock:/var/run/docker.sock \
1818
-v $current_dir/generated:/mount/generated \
1919
-e HOSTPWD=$current_dir/generated \
20-
api-test \
20+
xinfinorg/subnet-generator:latest \
2121
&& \
22-
echo 'go to http://localhost:5210 to access Subnet Configuration Generator UI' && \
23-
echo 'or use ssh tunnel if this is running on your server' && \
24-
echo 'ssh -N -L localhost:5210:localhost:5210 <username>@<ip_address> -i <private_key_file>'
22+
echo 'if this is running on your server, first use ssh tunnel: ssh -N -L localhost:5210:localhost:5210 <username>@<ip_address> -i <private_key_file>' && \
23+
echo 'Open http://localhost:5210 to access Subnet Deployment Wizard'

0 commit comments

Comments
 (0)