Skip to content

Using $ENV in run-exec config #218

@blueblakk

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"
}

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions