From bda46a81f15f922ac6d550612746935af5e0f25b Mon Sep 17 00:00:00 2001 From: Leandro Silva Date: Fri, 21 Jul 2023 12:45:06 -0300 Subject: [PATCH] Since some versions are configured to deprecated early, disabling it to avoid runners hangs --- Dockerfile.protoc | 4 ++-- start.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.protoc b/Dockerfile.protoc index 24c6e86..74a9565 100644 --- a/Dockerfile.protoc +++ b/Dockerfile.protoc @@ -1,5 +1,5 @@ FROM namely/protoc-all AS base -ARG VERSION=2.304.0 +ARG VERSION=2.306.0 ENV GO_VERSION=1.16 ENV PATH="/usr/local/go/bin:${PATH}" @@ -31,4 +31,4 @@ RUN curl -O -L https://github.com/actions/runner/releases/download/v${VERSION}/ COPY --chown=github-runner start.sh /actions-runner/ COPY --chown=github-runner remove.sh /actions-runner/ -ENTRYPOINT ["./start.sh"] \ No newline at end of file +ENTRYPOINT ["./start.sh"] diff --git a/start.sh b/start.sh index c590561..dd3c95f 100755 --- a/start.sh +++ b/start.sh @@ -2,8 +2,8 @@ TOKEN=$(curl -X POST 2>/dev/null -H "Authorization: token ${GITHUB_ACCESS_TOKEN}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/orgs/${ORG}/actions/runners/registration-token | jq '.token' | sed s/\"//g) -/actions-runner/config.sh --unattended --labels ${LABELS} --name ${HOSTNAME} --url "https://github.com/${ORG}" --token "${TOKEN}" --ephemeral --disableupdate --replace +/actions-runner/config.sh --unattended --labels ${LABELS} --name ${HOSTNAME} --url "https://github.com/${ORG}" --token "${TOKEN}" --ephemeral --replace /actions-runner/run.sh -exit 0 \ No newline at end of file +exit 0