Skip to content

Commit

Permalink
feat: Upgrated runner version to v2.308.0 (#12)
Browse files Browse the repository at this point in the history
* feat: Upgrated version to v2.308.0

* minor fix
  • Loading branch information
diegolagospagopa committed Aug 22, 2023
1 parent 998cf30 commit cc18622
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
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

0 comments on commit cc18622

Please sign in to comment.