Azure / Azure/container-apps-deploy-action

Feature Request: Support container command and args configuration

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
94
Forks
51
Avg merge
4d 18h
Merged PRs (30d)
1

Description

Currently, the Azure/container-apps-deploy-action does not provide a clean way to configure:

template.containers[].command

template.containers[].args

This forces users to:

Manually call az containerapp update

Or modify configuration in the Azure Portal

Or use --set template.containers[0].command=...

This creates:

Drift between CI and Portal configuration

Parsing inconsistencies with --args

Difficulty managing runtime commands for worker workloads (e.g., Celery)
Use Case

For example, running a Celery worker:

python -m celery -A src.celery_app:celery worker --loglevel=info --pool=threads

In Azure Container Apps, this requires setting:

"command": ["python"],
"args": [
"-m",
"celery",
"-A",
"src.celery_app:celery",
"worker",
"--loglevel=info",
"--pool=threads"
]

There is currently no native way to define this via the deploy action.

Requested Enhancement

Add support for something like:

with:
command: |
python
args: |
-m
celery
-A
src.celery_app:celery
worker
--loglevel=info
--pool=threads

Or:

with:
command: ["python"]
args: ["-m","celery","-A","src.celery_app:celery","worker","--loglevel=info","--pool=threads"]

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.