Azure / Azure/container-apps-deploy-action

environment Variables are not set or ignored (no error thrown)

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

Description

environmentVariables gets ignored:

acrName: ${{ env.REGISTRY_NAME }}
acrPassword: ${{ secrets.VIDEOCONTENTMODERATIONBACKEND_REGISTRY_PASSWORD }}
acrUsername: ${{ secrets.VIDEOCONTENTMODERATIONBACKEND_REGISTRY_USERNAME }}
containerAppName: ${{ env.CONTAINER_APP}}
resourceGroup: ${{ vars.RESOURCE_GROUP }}
yamlConfigPath: deployment/aca_container_apps/${{ env.CONTAINER_APP}}.yml
imageToDeploy: ${{ env.REGISTRY_NAME }}.azurecr.io/${{ env.CONTAINER_APP}}:latest
disableTelemetry: True
environmentVariables: AZURE_SPEECH_REGION="eastus" DEBUG_MODE="False" AUDIO_API_TYPE="Azure" VISION_API_TYPE="Azure" AZURE_OAI_EMBED_MODEL="text-embedding-3-large"

it does not throws any error and it seems that with this configuration they get ignorted, deployment suceeds but the container does not have env attached. (i am also using secrets as below and adding a space in between, but nothing)

 
AZURE_STORAGE_CONNECTION_STRING=secretref:azure-storage-connection-string AZURE_OPENAI_EMBED_MODEL_ENDPOINT=secretref:azure-openai-embed-model-endpoint

is there any specific configuration or settings i should use so that the env variables get set?

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.