Open brijshah27 opened 1 year ago
Hi Brij. I think you use the consumption tier right? I am sorry that we don't support this preview tier in GitHub Action right now. Would you mind try standard/basic tier? Thanks for your question!
Thank you for your response. The action worked with basic tier. Meanwhile I'll use https://github.com/marketplace/actions/azure-cli-action as a workaround.
can we have the gist of your updated workflow file using the cli action, @brijshah27 ?
@exaucae I am using this
name: Azure CLI Action to deploy to dev with main branch
uses: Azure/cli@v1.0.7
with:
inlineScript: |
az spring app deploy \
--resource-group <rg-name>\
--service <service-name>\
--name <instance-name> \
--artifact-path ${{ env.ASC_PACKAGE_PATH }}/backend/**/*.jar \
--runtime-version Java_17 \
--jvm-options='-Dspring.profiles.active=dev'
thanks, @brijshah27
Any idea when consumption tier will be supported ?
Using the sample from the readme with following action
Getting this error: Error: Action failed with error: Service tier not recognizable in service
appname
appserviceName
. Using Azure spring apps onStandard consumption & dedicated (preview)