From afd0d98683b967b7a8d89f0da876498ff1503a2f Mon Sep 17 00:00:00 2001 From: zzswang Date: Tue, 3 Nov 2026 14:23:59 +0800 Subject: [PATCH 1/2] fix: bump actions-runner to 2.338.2 to fix deprecated runner version 2.336.0 stops running jobs on 2026-11-05 (GitHub Actions deprecation warning). Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4841e29..8d98a89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/actions/actions-runner:2.336.0 +FROM ghcr.io/actions/actions-runner:2.338.2 RUN sudo apt update -y && \ sudo apt install -y curl make bash jq From e7d289afc084b3501ccc393380ebaa9e6b04359c Mon Sep 17 00:00:00 2001 From: zzswang Date: Tue, 3 Nov 2026 14:29:48 +0800 Subject: [PATCH 2/2] fix: install mc from GitHub release, dl.min.io returns 410 MinIO no longer distributes community mc binaries from dl.min.io. Pin the last GitHub release and verify its sha256. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8d98a89..ff73dbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,11 @@ RUN sudo corepack disable && \ RUN npx -y playwright install-deps chromium # Install MinIO Client (for CI cache) -RUN curl -fsSL https://dl.min.io/client/mc/release/linux-amd64/mc -o mc && \ +# dl.min.io 已停止分发社区版 mc(返回 410),改用 GitHub release 固定版本并校验 sha256 +ARG MC_VERSION=RELEASE.2025-08-13T08-35-41Z +ARG MC_SHA256=01f866e9c5f9b87c2b09116fa5d7c06695b106242d829a8bb32990c00312e891 +RUN curl -fsSL "https://github.com/minio/mc/releases/download/${MC_VERSION}/mc.linux-amd64.${MC_VERSION}" -o mc && \ + echo "${MC_SHA256} mc" | sha256sum -c - && \ chmod a+x mc && \ sudo mv mc /usr/local/bin/