Skip to content

Commit cc18622

Browse files
feat: Upgrated runner version to v2.308.0 (#12)
* feat: Upgrated version to v2.308.0 * minor fix
1 parent 998cf30 commit cc18622

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# from https://hub.docker.com/_/ubuntu/tags?page=1&name=22.04
22
FROM ubuntu:22.04@sha256:965fbcae990b0467ed5657caceaec165018ef44a4d2d46c7cdea80a9dff0d1ea
33

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

911
WORKDIR /
1012

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# github-self-hosted-runner-azure
2+
3+
## How to use
4+
5+
Every time you want to update the runner you have to do the following:
6+
7+
* go to the following page: <https://github.com/actions/runner/releases> and choose the latest runner
8+
* on the page of the chosen release, you need to take two pieces of info:
9+
10+
* the version of the runner
11+
12+
* 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`
13+
14+
* run a local build
15+
16+
* Push your code and be sure that the action `beta-docker-branch` runs correctly

0 commit comments

Comments
 (0)