Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify release workflow to have tag/release version as required input #1861

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
15 changes: 14 additions & 1 deletion .github/workflows/build-balena-disk-image.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
name: Build Balena Disk Images
on: workflow_dispatch
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to be used for the release'
required: true
type: string
commit:
description: 'Commit or branch name'
required: false
type: string
default: 'master'

jobs:
balena-build-images:
Expand Down Expand Up @@ -92,3 +103,5 @@ jobs:
allowUpdates: true
prerelease: true
artifacts: "*raspberry*.zip,*raspberry*.sha256,*raspberry*.json"
tag: ${{ inputs.tag }}
commit: ${{ inputs.commit }}
Loading