File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 2929 - name : Checkout code
3030 uses : actions/checkout@v3
3131
32- - name : Update Dockerfiles to use correct repo and branch
33- run : |
34- for file in Dockerfile-*; do
35- [ -f "$file" ] || continue
36- sed -i "s|RUN git clone --depth 1 --branch [^ ]* https://github.com/[^ ]*|RUN git clone --depth 1 --branch ${GITHUB_REF#refs/heads/} https://github.com/${GITHUB_REPOSITORY}|" "$file"
37- done
38-
3932 - name : Build image based on Debian 11
4033 run : docker build -t sems -f Dockerfile-debian11 .
4134
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN apt install -y \
1212 devscripts libbcg729-dev
1313WORKDIR /
1414
15- RUN git clone --depth 1 --branch master https://github.com/sems/sems.git
15+ RUN git clone --depth 1 --branch master https://github.com/sems-server /sems.git
1616
1717WORKDIR /sems
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN apt install -y \
1212 devscripts libbcg729-dev
1313WORKDIR /
1414
15- RUN git clone --depth 1 --branch master https://github.com/sems/sems.git
15+ RUN git clone --depth 1 --branch master https://github.com/sems-server /sems.git
1616
1717WORKDIR /sems
1818
You can’t perform that action at this time.
0 commit comments