Skip to content

docs: document volume environment variables - #506

Draft
lengau with Copilot wants to merge 2 commits into
mainfrom
copilot/document-volumes-environment-variables
Draft

lengau with Copilot wants to merge 2 commits into
mainfrom
copilot/document-volumes-environment-variables

Conversation

Copilot AI commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The step execution environment reference did not describe the variables that expose volume image files and partition devices.

  • Reference update: Documented CRAFT_VOLUME_<VOLUME> for raw image files and CRAFT_VOLUME_<VOLUME>_<PARTITION> for partition devices. Names are uppercased, with slashes and hyphens replaced by underscores.

  • Example: For volume pc and partition rootfs, the variables are:

    echo "$CRAFT_VOLUME_PC"
    echo "$CRAFT_VOLUME_PC_ROOTFS"

Copilot AI lite review requested due to automatic review settings October 22, 2026 15:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI linked an issue Oct 22, 2026 that may be closed by this pull request
1 task done
Co-authored-by: lengau <4305943+lengau@users.noreply.github.com>
Copilot AI changed the title [WIP] Document the volumes environment variables docs: document volume environment variables Oct 22, 2026
Copilot AI requested a review from lengau October 22, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the volumes environment variables

3 participants