Fix container build workflows to checkout dispatch ref
When manually dispatching a container build with --ref, the build job now checks out the specified commit instead of the branch HEAD. This allows building containers from feature branches before merging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c70aff256a
commit
7641018c6a
4 changed files with 6 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
# ///
|
||||
#MISE description="Trigger container build workflows via Forgejo API"
|
||||
#USAGE arg "<container>" help="Container name (directory under containers/)"
|
||||
#USAGE flag "--ref <ref>" help="Commit SHA to build (defaults to current HEAD)"
|
||||
#USAGE flag "--ref <ref>" help="Commit SHA or branch to build (defaults to current HEAD)"
|
||||
#USAGE flag "--dry-run" help="Show what would be done without triggering"
|
||||
"""Trigger container build workflows via Forgejo API dispatch.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue