Skip to content

damianperera/mount-image-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Mount Image Action

An action that mounts an image's boot and root partitions inside a Ubuntu runner.

Example

- name: Mount Image
  id: mount-image
  uses: damianperera/mount-image-action@v1
  with:
    imagePath: /home/github-runner/rpi4.img
    mountPoint: /mnt/rpi4

For a usage example refer this workflow file.

Outputs

Value Description
bootMountLocation Mount location of the boot partition
rootMountLocation Mount location of the root partition
bootDeviceMapper The boot partition's mount device (e.g. /dev/mapper/loop5p0)
rootDeviceMapper The root partition's mount device (e.g. /dev/mapper/loop5p1)

About

An action that mounts an image's boot and root partitions inside a Ubuntu runner

Topics

Resources

License

Stars

Watchers

Forks