[GH-ISSUE #364] Support expressions in runs.env for docker actions #257

Closed
opened 2026-03-01 21:41:50 +03:00 by kerem · 2 comments
Owner

Originally created by @justincy on GitHub (Sep 9, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/364

https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsenv

act isn't parsing expressions in runs.env, it's treating them as strings. With this setup:

runs:
  using: 'docker'
  image: 'Dockerfile'
  env:
    PROCESS_NAME: ${{ inputs.process-name }}

PROCESS_NAME always has the value of the string ${{ inputs.process-name }} instead of the actual input value.

Originally created by @justincy on GitHub (Sep 9, 2020). Original GitHub issue: https://github.com/nektos/act/issues/364 https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsenv act isn't parsing expressions in `runs.env`, it's treating them as strings. With this setup: ``` runs: using: 'docker' image: 'Dockerfile' env: PROCESS_NAME: ${{ inputs.process-name }} ``` `PROCESS_NAME` always has the value of the string `${{ inputs.process-name }}` instead of the actual input value.
kerem 2026-03-01 21:41:50 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Nov 8, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:723619652 --> @github-actions[bot] commented on GitHub (Nov 8, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2021):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:756474854 --> @github-actions[bot] commented on GitHub (Jan 8, 2021): Issue is stale and will be closed in 7 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#257
No description provided.