From 35a25fe080d986691bea6359b178914163a6f099 Mon Sep 17 00:00:00 2001 From: Antoine Rybacki <15911822+Lifeismana@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:45:59 +0200 Subject: [PATCH] maybe --- .github/workflows/run.yml | 14 +++++++------- Dockerfile | 3 ++- setup.sh | 2 ++ 3 files changed, 11 insertions(+), 8 deletions(-) create mode 100755 setup.sh diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4f79a31..5e3a433 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -32,13 +32,13 @@ jobs: # remove-android: 'true' # remove-haskell: 'true' # remove-codeql: 'true' - - name: More space - shell: bash - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/local/lib/android - sudo rm -rf /opt/ghc - sudo rm -rf /opt/hostedtoolcache/CodeQL + # - name: More space + # shell: bash + # run: | + # sudo rm -rf /usr/share/dotnet + # sudo rm -rf /usr/local/lib/android + # sudo rm -rf /opt/ghc + # sudo rm -rf /opt/hostedtoolcache/CodeQL - uses: actions/checkout@v4 with: ref: main diff --git a/Dockerfile b/Dockerfile index 55a28b6..e89e251 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ RUN python -m venv /data/.venv && \ pip install --upgrade git+https://github.com/P1sec/hermes-dec ENV PATH=/data/.venv/bin:$PATH -CMD [ "ls -la && cd $GITHUB_WORKSPACE && ls -la" ] \ No newline at end of file +COPY setup.sh /data/setup.sh +CMD [ "/data/setup.sh" ] \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..c386210 --- /dev/null +++ b/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +cd $GITHUB_WORKSPACE && ./script.sh \ No newline at end of file