Azure / Azure/webapps-deploy

Can't deploy to ACA-based Function App

Open
#405 0 comments 0 reactions 0 assignees View on GitHub
need-to-triage
Dominant language
TypeScript
Stars
338
Forks
234
Avg merge
53m
Merged PRs (30d)
3

Description

Using the following YAML

```yaml
env:
container_image: 'xxx.azurecr.io/xxx:${{ github.sha }}'

...

- name: 'Sign in via Azure CLI'
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- uses: azure/docker-login@v1
with:
login-server: xxx.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Build and push Docker image
run: |
pushd xxx.sh
docker build -q -t $container_image .
docker push -q $container_image

- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
with:
app-name: 'xxx'
images: $container_image
```

which maps directly to the docs [here](https://github.com/Azure/webapps-deploy#sample-workflow-to-build-and-deploy-a-nodejs-app-to-containerized-webapp-using-azure-service-principal),

I get the following error during deployment:

![image](https://github.com/Azure/webapps-deploy/assets/1967433/58e2ad61-5810-415e-a97b-f39c97cfd022)

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.