mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
name: build snowflakes
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
build-version:
|
|
description: "Explicit Fluxer CalVer build version (YYYY.MDD.MICRO, UTC HHMMSS without leading zeroes) to use instead of automatic UTC clock allocation"
|
|
type: string
|
|
required: false
|
|
default: ""
|
|
finalise-release:
|
|
description: "Publish the GitHub Release after this workflow completes. Set false when an orchestrator will finalise the release."
|
|
type: boolean
|
|
required: false
|
|
default: true
|
|
workflow_call:
|
|
inputs:
|
|
build-version:
|
|
description: "Explicit Fluxer CalVer build version (YYYY.MDD.MICRO, UTC HHMMSS without leading zeroes) to use instead of automatic UTC clock allocation"
|
|
type: string
|
|
required: false
|
|
default: ""
|
|
finalise-release:
|
|
description: "Publish the GitHub Release after this workflow completes. Set false when an orchestrator will finalise the release."
|
|
type: boolean
|
|
required: false
|
|
default: true
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: write
|
|
packages: write
|
|
|
|
jobs:
|
|
image:
|
|
uses: ./.github/workflows/_build-image.yaml
|
|
with:
|
|
image: fluxer-snowflakes
|
|
dockerfile: fluxer_snowflakes/Dockerfile
|
|
build-version: ${{ inputs['build-version'] }}
|
|
finalise-release: ${{ inputs['finalise-release'] != false }}
|
|
secrets: inherit
|