Packages an RPi image as a zip, generates a .md5 and .sha256 files for image and zip and provides various metadata as outputs.
Required The path to the image.
The name of the image file.
The SHA256 hash of the image.
The size of the image in bytes.
The name of the zip file.
The path to the zip file.
The SHA256 hash of the zip file.
The size of the zip file in bytes.
- name: "📦 Package the image"
id: package-image
uses: OctoPrint/actions/package-rpi-image@main
with:
image_path: "build/${{ env.IMAGE }}"