Skip to content

Commit

Permalink
Add input 'branch' in build-docker-images.yaml (#147)
Browse files Browse the repository at this point in the history
Co-authored-by: zhiyaoPCCW <[email protected]>
Co-authored-by: Dave Xiong <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2024
1 parent 12e7669 commit bb39e03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-docker-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
name: Build docker images
on:
workflow_dispatch:
inputs:
branch:
description: 'The branch checkout'
required: false
type: string
default: ''

jobs:
container_build:
Expand All @@ -10,6 +16,8 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}

- name: Get the current version
id: vars
Expand Down

0 comments on commit bb39e03

Please sign in to comment.