Skip to content

feat: Add environment variable expansion in top-level recipe fields#749

Open
gmpinder wants to merge 1 commit intomainfrom
env-expansion
Open

feat: Add environment variable expansion in top-level recipe fields#749
gmpinder wants to merge 1 commit intomainfrom
env-expansion

Conversation

@gmpinder
Copy link
Copy Markdown
Member

This adds the ability to set environment variables to control the top-level fields of the recipe. This is useful for easily changing where you pull your images from or bumping the base image version without updating the file directly. It allows matrixing in Gitlab CI or Github Actions to be more customizable.

This follows similar POSIX shell expansion logic. Information about the implementation can be found here

This adds the ability to set environment variables to control the top-level fields of the recipe. This is useful for easily changing where you pull your images from or bumping the base image version without updating the file directly. It allows matrixing in Gitlab CI or Github Actions to be more customizable.

This follows similar POSIX shell expansion logic. Information about the implementation can be found [here](https://docs.rs/shellexpand/latest/shellexpand/)
@gmpinder gmpinder requested a review from HastD April 10, 2026 21:23
@gmpinder gmpinder self-assigned this Apr 10, 2026
env:
GH_TOKEN: ${{ github.token }}
GH_PR_EVENT_NUMBER: ${{ inputs.pr_event_number }}
COSIGN_PRIVATE_KEY: ${{ secrets.TEST_SIGNING_SECRET }}
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.

2 participants