Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't deploy to ACA-based Function App #405

Open
bc3tech opened this issue Mar 22, 2024 · 0 comments
Open

Can't deploy to ACA-based Function App #405

bc3tech opened this issue Mar 22, 2024 · 0 comments

Comments

@bc3tech
Copy link

bc3tech commented Mar 22, 2024

Using the following 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,

I get the following error during deployment:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant