Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
feat(runner): fix build after actions/runner#1556
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tôrres <pedro.torres@incognia.com>
  • Loading branch information
t0rr3sp3dr0 committed Dec 23, 2021
1 parent 4d08592 commit e7acf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN set -x && \
chmod 0440 /etc/sudoers.d/user && \
mkdir /opt/actions-runner && \
chown user:user /opt/actions-runner && \
export RUNNER_URL=$(curl -sSLf https://api.github.com/repos/actions/runner/releases | jq -r '.[] | select(.tag_name == "v'${RUNNER_VERSION}'") | .assets[] | select(.name | contains("linux-x64")) | .browser_download_url') && \
export RUNNER_URL=$(curl -sSLf https://api.github.com/repos/actions/runner/releases | jq -r '.[] | select(.tag_name == "v'${RUNNER_VERSION}'") | .assets[] | select(.name | endswith("linux-x64-'${RUNNER_VERSION}'.tar.gz")) | .browser_download_url') && \
curl -sSLf ${RUNNER_URL} | runuser -u user -- tar -vxzC /opt/actions-runner && \
/opt/actions-runner/bin/installdependencies.sh && \
rm -fRv ${XDG_CACHE_HOME:-${HOME}/.cache}/pip/* /var/lib/apt/lists/* /tmp/*
Expand Down

0 comments on commit e7acf0b

Please sign in to comment.