Skip to content

Commit 8094083

Browse files
author
Marcel Hecko
committed
Fix issue #222 - git links for Debian builds
1 parent 5416624 commit 8094083

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/build_test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ jobs:
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

Dockerfile-debian11

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apt install -y \
1212
devscripts libbcg729-dev
1313
WORKDIR /
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

1717
WORKDIR /sems
1818

Dockerfile-debian12

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apt install -y \
1212
devscripts libbcg729-dev
1313
WORKDIR /
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

1717
WORKDIR /sems
1818

0 commit comments

Comments
 (0)