ci: separate image build to a standalone workflow (#6167)

This commit is contained in:
forehalo
2024-03-28 04:02:13 +00:00
parent e53744b740
commit f69649c922
3 changed files with 232 additions and 163 deletions

View File

@@ -0,0 +1,25 @@
name: Build Selfhost Image
on:
workflow_dispatch:
inputs:
flavor:
description: 'Select distribution to build'
type: choice
default: canary
options:
- canary
- beta
- stable
permissions:
contents: 'write'
id-token: 'write'
packages: 'write'
jobs:
build-image:
name: Build Image
uses: ./.github/workflows/build-server-image.yml
with:
flavor: ${{ github.event.inputs.flavor }}