Skip to content

Commit

Permalink
fix: upgrade runner to v2.305.0 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-ps committed Jun 20, 2023
1 parent 47105ab commit 998cf30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# from https://hub.docker.com/_/ubuntu/tags?page=1&name=22.04
FROM ubuntu:22.04@sha256:965fbcae990b0467ed5657caceaec165018ef44a4d2d46c7cdea80a9dff0d1ea

ENV ENV_GITHUB_RUNNER_VERSION="2.304.0"
ENV ENV_GITHUB_RUNNER_VERSION_SHA=292e8770bdeafca135c2c06cd5426f9dda49a775568f45fcc25cc2b576afc12f
ENV ENV_GITHUB_RUNNER_VERSION="2.305.0"
ENV ENV_GITHUB_RUNNER_VERSION_SHA=737bdcef6287a11672d6a5a752d70a7c96b4934de512b7eb283be6f51a563f2f
ENV ENV_YQ_VERSION="v4.30.6"
ENV ENV_KUBELOGIN_VERSION=0.0.27

Expand All @@ -18,10 +18,10 @@ RUN chmod +x /github-runner-entrypoint.sh
USER github

RUN whoami && \
az --version && \
kubectl --help && \
kubelogin --version && \
helm --help && \
yq --version
az --version && \
kubectl --help && \
kubelogin --version && \
helm --help && \
yq --version

ENTRYPOINT ["/github-runner-entrypoint.sh"]
4 changes: 2 additions & 2 deletions dockerfile-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ mkdir -p actions-runner
cd actions-runner || exit

# from https://github.com/actions/runner/releases
GITHUB_RUNNER_VERSION="${ENV_GITHUB_RUNNER_VERSION:-2.304.0}"
GITHUB_RUNNER_VERSION_SHA="${ENV_GITHUB_RUNNER_VERSION_SHA:-292e8770bdeafca135c2c06cd5426f9dda49a775568f45fcc25cc2b576afc12f}"
GITHUB_RUNNER_VERSION="${ENV_GITHUB_RUNNER_VERSION:-2.305.0}"
GITHUB_RUNNER_VERSION_SHA="${ENV_GITHUB_RUNNER_VERSION_SHA:-737bdcef6287a11672d6a5a752d70a7c96b4934de512b7eb283be6f51a563f2f}"
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 998cf30

Please sign in to comment.