https://github.com/damianperera/unmount-image-action
An action that unmounts an image's boot and root partitions inside a Ubuntu runner
https://github.com/damianperera/unmount-image-action
github-action ubuntu
Last synced: 5 months ago
JSON representation
An action that unmounts an image's boot and root partitions inside a Ubuntu runner
- Host: GitHub
- URL: https://github.com/damianperera/unmount-image-action
- Owner: damianperera
- License: mit
- Created: 2021-06-07T20:34:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-07T22:14:02.000Z (about 5 years ago)
- Last Synced: 2025-09-26T03:14:04.488Z (9 months ago)
- Topics: github-action, ubuntu
- Homepage: https://github.com/marketplace/actions/unmount-image
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unmount Image Action
An action that unmounts an image's `boot` and `root` partitions inside a Ubuntu runner, ideally created by the [damianperera/mount-image-action@v1](https://github.com/damianperera/mount-image-action) action.
# Example
```
- name: Unmount Image
uses: damianperera/unmount-image-action@v1
with:
imagePath: /home/github-runner/rpi4.img
bootDeviceMapper: /dev/mapper/loop5p0
rootDeviceMapper: /dev/mapper/loop5p1
```
For a usage example refer [this workflow file](https://github.com/damianperera/openwrt-rpi/blob/main/.github/workflows/build.yml).