From 7a62e9847fca6dd896dbfd37f82a664fca422e15 Mon Sep 17 00:00:00 2001 From: Murat Ugur Eminoglu Date: Mon, 1 Jul 2024 13:40:26 +0300 Subject: [PATCH] Update install-dockerfile-and-check-ssl.yml --- .../install-dockerfile-and-check-ssl.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/install-dockerfile-and-check-ssl.yml b/.github/workflows/install-dockerfile-and-check-ssl.yml index edbef5c4..252353b8 100644 --- a/.github/workflows/install-dockerfile-and-check-ssl.yml +++ b/.github/workflows/install-dockerfile-and-check-ssl.yml @@ -25,12 +25,15 @@ jobs: - name: Run Docker container run: docker run -d --name antmedia --network=host -it antmediaserver - - name: Clone branch - run: | - git clone --depth=1 -b ${{ github.event.inputs.branch_name }} https://github.com/ant-media/Ant-Media-Server.git || git clone --depth=1 https://github.com/ant-media/Ant-Media-Server.git - - - name: Copy enable_ssl.sh from cloned branch to container - run: docker cp Ant-Media-Server/src/main/server/enable_ssl.sh antmedia:/usr/local/antmedia/enable_ssl.sh +# - name: Clone branch +# run: | +# git clone --depth=1 -b ${{ github.event.inputs.branch_name }} https://github.com/ant-media/Ant-Media-Server.git || git clone --depth=1 https://github.com/ant-media/Ant-Media-Server.git + + - name: Download enable_ssl.sh inside container + run: docker exec antmedia wget -O /usr/local/antmedia/enable_ssl.sh https://raw.githubusercontent.com/ant-media/Ant-Media-Server/21b57c461ba8eae496b830e779d2c628f25aecce/src/main/server/enable_ssl.sh + +# - name: Copy enable_ssl.sh from cloned branch to container +# run: docker cp Ant-Media-Server/src/main/server/enable_ssl.sh antmedia:/usr/local/antmedia/enable_ssl.sh - name: Run enable_ssl.sh inside container run: docker exec antmedia bash /usr/local/antmedia/enable_ssl.sh