Skip to content

Commit

Permalink
Try again with registry deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
willu47 committed Nov 29, 2024
1 parent 9139787 commit d10a188
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
with:
push: true
tags: index.docker.io/${{ secrets.AzureAppService_ContainerUsername_dce678b65c414723a5c407473fe6c430 }}/ccg-research-index:${{ github.sha }}
file: ./Dockerfile
file: Dockerfile

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write #This is required for requesting the OIDC JWT Token
contents: read #Required when GH token is used to authenticate with private repo
Expand All @@ -58,8 +59,9 @@ jobs:
- name: Push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
imageToBuild: index.docker.io/research-index:${{ github.sha }}
registryUrl: index.docker.io
registryUsername: ${{ secrets.RESEARCHINDEX_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.RESEARCHINDEX_REGISTRY_PASSWORD }}
containerAppName: research-index
resourceGroup: ccg_research_index
imageToDeploy: index.docker.io/research-index:${{ github.sha }}

0 comments on commit d10a188

Please sign in to comment.