mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-01-16 16:59:15 +08:00
Compare commits
2 Commits
nikola-jok
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3ca9de3ca | ||
|
|
a868229fe0 |
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ endif
|
|||||||
DOCKER_USER ?= $(shell echo ${DOCKER_IMAGE_NAME} | cut -d / -f1)
|
DOCKER_USER ?= $(shell echo ${DOCKER_IMAGE_NAME} | cut -d / -f1)
|
||||||
VERSION ?= dev
|
VERSION ?= dev
|
||||||
COMMIT_SHA = $(shell git rev-parse HEAD)
|
COMMIT_SHA = $(shell git rev-parse HEAD)
|
||||||
RUNNER_VERSION ?= 2.330.0
|
RUNNER_VERSION ?= 2.331.0
|
||||||
TARGETPLATFORM ?= $(shell arch)
|
TARGETPLATFORM ?= $(shell arch)
|
||||||
RUNNER_NAME ?= ${DOCKER_USER}/actions-runner
|
RUNNER_NAME ?= ${DOCKER_USER}/actions-runner
|
||||||
RUNNER_TAG ?= ${VERSION}
|
RUNNER_TAG ?= ${VERSION}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package actionssummerwindnet
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/sha1"
|
"crypto/sha256"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
@@ -176,7 +176,7 @@ func (c *MultiGitHubClient) initClientForSecret(secret *corev1.Secret, dependent
|
|||||||
|
|
||||||
sort.SliceStable(ks, func(i, j int) bool { return ks[i] < ks[j] })
|
sort.SliceStable(ks, func(i, j int) bool { return ks[i] < ks[j] })
|
||||||
|
|
||||||
hash := sha1.New()
|
hash := sha256.New()
|
||||||
for _, k := range ks {
|
for _, k := range ks {
|
||||||
hash.Write(secret.Data[k])
|
hash.Write(secret.Data[k])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ DIND_ROOTLESS_RUNNER_NAME ?= ${DOCKER_USER}/actions-runner-dind-rootless
|
|||||||
OS_IMAGE ?= ubuntu-22.04
|
OS_IMAGE ?= ubuntu-22.04
|
||||||
TARGETPLATFORM ?= $(shell arch)
|
TARGETPLATFORM ?= $(shell arch)
|
||||||
|
|
||||||
RUNNER_VERSION ?= 2.330.0
|
RUNNER_VERSION ?= 2.331.0
|
||||||
RUNNER_CONTAINER_HOOKS_VERSION ?= 0.8.0
|
RUNNER_CONTAINER_HOOKS_VERSION ?= 0.8.0
|
||||||
DOCKER_VERSION ?= 28.0.4
|
DOCKER_VERSION ?= 28.0.4
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
RUNNER_VERSION=2.330.0
|
RUNNER_VERSION=2.331.0
|
||||||
RUNNER_CONTAINER_HOOKS_VERSION=0.8.0
|
RUNNER_CONTAINER_HOOKS_VERSION=0.8.0
|
||||||
@@ -36,7 +36,7 @@ var (
|
|||||||
|
|
||||||
testResultCMNamePrefix = "test-result-"
|
testResultCMNamePrefix = "test-result-"
|
||||||
|
|
||||||
RunnerVersion = "2.330.0"
|
RunnerVersion = "2.331.0"
|
||||||
RunnerContainerHooksVersion = "0.8.0"
|
RunnerContainerHooksVersion = "0.8.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user