Skip to content

Commit

Permalink
Various fixes to UBI GitHub Runner (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabre1041 authored Jan 22, 2021
1 parent 3138bbb commit 77ff603
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions github-runner-ubi8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi8/ubi:latest

ARG GITHUB_RUNNER_VERSION="2.275.1"
ARG GITHUB_RUNNER_VERSION="2.276.0"

LABEL summary="Supports running a GitHub self-hosted runner." \
description="Self-hosted GitHub runner" \
Expand All @@ -19,8 +19,8 @@ RUN dnf update -y && \

WORKDIR /home/github

RUN curl -Ls https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz | tar xz \
&& ./bin/installdependencies.sh && \
RUN curl -Ls https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz | tar xzvC /home/github \
&& /home/github/bin/installdependencies.sh && \
dnf clean all

COPY entrypoint.sh ./entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion github-runner-ubi8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

if [ -z "${RUNNER_TOKEN}" ] && [ -z "${GITHUB_PAT}"]; then
if [ -z "${RUNNER_TOKEN}" ] && [ -z "${GITHUB_PAT}" ]; then
echo "RUNNER_TOKEN or GITHUB_PAT variable must be defined!"
exit 255
fi
Expand Down
4 changes: 2 additions & 2 deletions github-runner-ubi8/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.0.1"
}
"version": "v1.0.2"
}

0 comments on commit 77ff603

Please sign in to comment.