Compare commits

..

1 Commits

2 changed files with 3 additions and 12 deletions

View File

@ -44,7 +44,7 @@ runs:
"https://api.github.com/repos/$repo/actions/runners?per_page=100") "https://api.github.com/repos/$repo/actions/runners?per_page=100")
# Debug: Print runners content # Debug: Print runners content
# echo "Runners response: $runners" echo "Runners response: $runners"
# Check if runners is null or empty # Check if runners is null or empty
if [ -z "$runners" ] || [ "$runners" = "null" ]; then if [ -z "$runners" ] || [ "$runners" = "null" ]; then

View File

@ -7,20 +7,11 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y && apt upgrade -y && useradd -m docker RUN apt update -y && apt upgrade -y && useradd -m docker
RUN apt install -y --no-install-recommends \ RUN apt install -y --no-install-recommends \
curl jq git \ curl jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip \
# dev dependencies
build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip \
# dot net core dependencies # dot net core dependencies
libicu74 libssl3 libkrb5-3 zlib1g libcurl4 \ libicu74 libssl3 libkrb5-3 zlib1g libcurl4
# Rust and Cargo dependencies
gcc cmake
# Install Rust and Cargo
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/home/docker/.cargo/bin:${PATH}"
ENV HOME="/home/docker"
RUN cd /home/docker && mkdir actions-runner && cd actions-runner \ RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
&& curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \ && curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
&& tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz && tar xzf ./actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz