Open
Description
Error Details:
The deployment action for an Azure Container App is failing with the following error message, here using the GitHub container registry to deploy previously built images:
ERROR: (ContainerAppInvalidSecretName) Secret name has an invalid value 'ghcrio-***'. A value must consist of lower case alphanumeric characters, '-', and must start and end with an alphanumeric character. The length must not be more than 253 characters.
Error: The process '/usr/bin/az' failed with exit code 1
Error: The process '/usr/bin/az' failed with exit code 1
YML Configuration Related to the Issue:
- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
registryUrl: ghcr.io
registryUsername: ${{ secrets.CONTAINER_USER_NAME }}
registryPassword: ${{ secrets.CONTAINER_PASSWORD }}
containerAppName: service-app-dev
resourceGroup: project-rg-dev
imageToDeploy: ghcr.io/repository/service-app-dev:${{ github.sha }}
Metadata
Assignees
Labels
No labels
Activity