Skip to content

Commit

Permalink
feat: Upgrade GITHUB_RUNNER_VERSION to 2.300.2 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualedevita committed Jan 5, 2023
1 parent 00b4156 commit 08cef17
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM ubuntu:22.04@sha256:a8fe6fd30333dc60fc5306982a7c51385c2091af1e0ee887166b40a905691fd0
# from https://hub.docker.com/_/ubuntu/tags?page=1&name=22.04
FROM ubuntu:22.04@sha256:965fbcae990b0467ed5657caceaec165018ef44a4d2d46c7cdea80a9dff0d1ea

RUN apt-get update && apt-get install -y curl git

# Create a folder
RUN mkdir actions-runner
WORKDIR actions-runner

RUN GITHUB_RUNNER_VERSION="2.299.1" && \
GITHUB_RUNNER_VERSION_SHA="147c14700c6cb997421b9a239c012197f11ea9854cd901ee88ead6fe73a72c74" && \
# from https://github.com/actions/runner/releases
RUN GITHUB_RUNNER_VERSION="2.300.2" && \
GITHUB_RUNNER_VERSION_SHA="ed5bf2799c1ef7b2dd607df66e6b676dff8c44fb359c6fedc9ebf7db53339f0c" && \
curl -o actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz -L https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz && \
echo "${GITHUB_RUNNER_VERSION_SHA} actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz" | sha256sum -c && \
tar xzf ./actions-runner-linux-x64-${GITHUB_RUNNER_VERSION}.tar.gz && \
Expand Down

0 comments on commit 08cef17

Please sign in to comment.