Azure / Azure/acr

Option to pass environment Variables in acr run

Open
#395 13 comments 0 reactions 1 assignee Assigned to @toddysm View on GitHub
feature-acr-tasks feature-request triaged
Dominant language
No language data
Stars
177
Forks
137
PR merge metrics
No merged PRs in 30d

Description

I try to use `az acr run --registry myregistry --platform "windows" --set myvar=123 --cmd "myregistry.azurerc.io/test:latest" /dev/null` - in the test container I output all environment variables, but I can't see the myvar.

If I use a yaml to run the task and set the env it works as expected. Is there any way to pass the variables via command line?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.