ci: move community actions to self-hosted runners

This commit is contained in:
github-ops
2026-05-15 20:27:03 +00:00
parent 6981de1bca
commit 69edbfb717
4 changed files with 14 additions and 28 deletions
+3 -10
View File
@@ -22,7 +22,7 @@ env:
jobs:
build-release-assets:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout
@@ -33,15 +33,10 @@ jobs:
with:
toolchain: 1.85.0
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: apps/ui/package-lock.json
- name: Build release binaries
run: cargo build --release -p admin-api -p mcp-server
@@ -86,7 +81,7 @@ jobs:
dist/crank-community-${{ env.IMAGE_TAG }}-sbom.spdx.json
publish-images:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
strategy:
fail-fast: false
matrix:
@@ -124,14 +119,12 @@ jobs:
tags: |
${{ matrix.image }}:${{ env.IMAGE_TAG }}
${{ matrix.image }}:latest
cache-from: type=gha,scope=release-${{ matrix.name }}
cache-to: type=gha,mode=max,scope=release-${{ matrix.name }}
github-release:
needs:
- build-release-assets
- publish-images
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64]
steps:
- name: Download release artifacts