Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrated runner version to v2.308.0 #12

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# from https://hub.docker.com/_/ubuntu/tags?page=1&name=22.04
FROM ubuntu:22.04@sha256:965fbcae990b0467ed5657caceaec165018ef44a4d2d46c7cdea80a9dff0d1ea

ENV ENV_GITHUB_RUNNER_VERSION="2.305.0"
ENV ENV_GITHUB_RUNNER_VERSION_SHA=737bdcef6287a11672d6a5a752d70a7c96b4934de512b7eb283be6f51a563f2f
# see readme to understand wich version and use to use
ENV ENV_GITHUB_RUNNER_VERSION="2.308.0"
ENV ENV_GITHUB_RUNNER_VERSION_SHA=9f994158d49c5af39f57a65bf1438cbae4968aec1e4fec132dd7992ad57c74fa
# https://github.com/Azure/kubelogin/blob/master/CHANGELOG.md
ENV ENV_KUBELOGIN_VERSION=0.0.31
ENV ENV_YQ_VERSION="v4.30.6"
ENV ENV_KUBELOGIN_VERSION=0.0.27

WORKDIR /

Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# github-self-hosted-runner-azure

## How to use

Every time you want to update the runner you have to do the following:

* go to the following page: <https://github.com/actions/runner/releases> and choose the latest runner
* on the page of the chosen release, you need to take two pieces of info:

* the version of the runner

* the sha of the `actions-runner-linux-x64` version these two info must be inserted in the Dockerfile respectively in the variable: `ENV_GITHUB_RUNNER_VERSION` and `ENV_GITHUB_RUNNER_VERSION_SHA`

* run a local build

* Push your code and be sure that the action `beta-docker-branch` runs correctly