Skip to content

Using $ENV in run-exec config #218

Description

@blueblakk

Is it possible to do something like the following, where the placeholder would be replaced with the hardcoded value when installing the hooks? I tried it, but it stays the same once the hook files are created.

"config": {
    "run-mode": "docker",
    "run-exec": "docker compose -p {$ENV|value-of:DOCKER_PROJECT_NAME} run --rm -T php"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions