From fb2c126ed1f5809f140013db014510c69b80f723 Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Sun, 19 Apr 2026 05:53:39 -0700 Subject: [PATCH] ci(promote-latest): run on self-hosted mac mini (GH-hosted quota blocked) --- .github/workflows/promote-latest.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/promote-latest.yml b/.github/workflows/promote-latest.yml index 8f5bc106..92eb0be3 100644 --- a/.github/workflows/promote-latest.yml +++ b/.github/workflows/promote-latest.yml @@ -32,12 +32,16 @@ env: jobs: promote: - runs-on: ubuntu-latest + # Self-hosted mac mini — GitHub-hosted minutes are currently quota- + # blocked. mac mini already has crane available via homebrew. + runs-on: [self-hosted, macos, arm64] steps: - - name: Install crane + - name: Ensure crane installed run: | - curl -fsSL https://github.com/google/go-containerregistry/releases/download/v0.20.2/go-containerregistry_Linux_x86_64.tar.gz \ - | tar xz -C /usr/local/bin crane + if ! command -v crane >/dev/null 2>&1; then + brew install crane + fi + crane version - name: GHCR login run: |