Build Flood v4.7.0 in client-only mode with manual release selection
This commit is contained in:
1 parent
8f10b48700
commit
1c113788ed
3 files changed
+19
-24
No files matched your search
@@ -1,14 +1,12 @@
|
||||
name: Build and Push Custom Flood Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
flood_version:
|
||||
description: 'jesec/flood release tag'
|
||||
required: true
|
||||
default: 'v4.16.2'
|
||||
default: 'v4.7.0'
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
@@ -26,8 +24,9 @@ jobs:
|
||||
|
||||
- name: Fetch Flood release
|
||||
env:
|
||||
FLOOD_VERSION: ${{ github.event.inputs.flood_version || 'v4.16.2' }}
|
||||
FLOOD_VERSION: ${{ github.event.inputs.flood_version }}
|
||||
run: |
|
||||
test -n "$FLOOD_VERSION" || { echo "flood_version is required" >&2; exit 1; }
|
||||
git check-ref-format "refs/tags/$FLOOD_VERSION"
|
||||
git init flood-repo
|
||||
git -C flood-repo fetch --depth=1 https://github.com/jesec/flood.git "refs/tags/$FLOOD_VERSION"
|
||||
|
||||
Reference in new issue
Block a user