diff --git a/Dockerfile b/Dockerfile index 75f62ab..d023599 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 / diff --git a/README.md b/README.md index 10ad6a6..822070b 100644 --- a/README.md +++ b/README.md @@ -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: 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