An open API service indexing awesome lists of open source software.

https://github.com/minionguyjpro/create-disk-image-action

Creates a disk image in .ISO format (Windows only)
https://github.com/minionguyjpro/create-disk-image-action

composite disk disk-image github-actions image iso utilities

Last synced: 6 months ago
JSON representation

Creates a disk image in .ISO format (Windows only)

Awesome Lists containing this project

README

          

# Create-Disk-Image
Creates a disk image in a few formats, using ImgBurn. (Windows only)
# Example usage
```yaml
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)|