Skip to content

az containerapp job start --image <image> voids environment variables #27521

@fardarter

Description

@fardarter

Describe the bug

When running az containerapp job start with the image tag specified, my job env vars are not retained, but when I simply name the job they are.

The reason I even care is that when I update the job and trigger it the previous container is often run.

Related command

az containerapp job start

Errors

The error is that my environment variables are voided when using the --image flag

Issue script & Debug output

The error is that my environment variables are voided when using the --image flag

Expected behavior

That my environment variables are only voided when I deliberately void them

Environment Summary

azure-cli 2.52.0 *

core 2.52.0 *
telemetry 1.1.0

Extensions:
azure-devops 0.26.0
containerapp 0.3.41

Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botContainerAppService AttentionThis issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions