Skip to content

Minionguyjpro/Create-Disk-Image-Action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Create-Disk-Image

Creates a disk image in a few formats, using ImgBurn. (Windows only)

Example usage

name: Create a disk image
on:
  push:
  pull_request:
  workflow_dispatch:
jobs:
 create_iso:
   runs-on: windows-latest
   steps:
    - name: Create .ISO disk image
      uses: Minionguyjpro/Create-Disk-Image@v1
      with:
        path: example
        filename: example.iso
        label: Example Setup
        push: true
        push-msg: Created disk image file $Env:FILENAME
  

Settings

Keys can be added directly to your .yml config file or referenced from your project Secrets storage.

Key Name Required Example Default Value Description
filename Yes example.iso image.iso The name of the file when saved to a .ISO or other file
path Yes src .\ The path where the files are stored that need to be included in the disk image
label No Example N/A The label that is used for the disk image in ISO9660 + Joliet format
push Yes true false Whether to push the file(s) to GitHub using Git, or keep it only to an artifact
push-msg Yes, on push Create x.img Create $Env:FILENAME A push/commit message to use when pushing the changes with Git

Default variables

Variable Name Input Name Description
$Env:FILENAME filename Variable for filename, is set locally for commit message (in case push is used)