ソースを参照

Allow manual Docker builds on any branch

tuanchris 10 ヶ月 前
親
コミット
447b57a24d
1 ファイル変更、6 行追加、1 行削除
  1. 6 1
      .github/workflows/docker-publish.yml

+ 6 - 1
.github/workflows/docker-publish.yml

@@ -7,8 +7,13 @@ on:
       - 'Dockerfile'
       - 'requirements.txt'
       - 'VERSION'
-  # Allow manual trigger for when you need to rebuild anyway
+  # Allow manual trigger on any branch
   workflow_dispatch:
+    inputs:
+      branch:
+        description: 'Branch to build from'
+        required: false
+        default: ''
     
 env:
   REGISTRY: ghcr.io