Skip to content

Commit

Permalink
update chat cd
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Oct 15, 2023
1 parent 42b1849 commit 36ee170
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 52 deletions.

This file was deleted.

25 changes: 15 additions & 10 deletions .github/workflows/container_apps_chat_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,19 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Azure Login
uses: Azure/login@v1.4.6
with:
creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL_CHAT }}
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.CHAT_AZURE_CREDENTIALS }}

- name: Deploy image to Azure Container Apps
uses: azure/container-apps-deploy-action@v1
with:
containerAppName: chat
resourceGroup: Jordnaer
imageToDeploy: ghcr.io/nielspilgaard/chat:${{ github.sha }}
- name: Deploy image to Azure Container Apps
uses: azure/container-apps-deploy-action@v1
with:
appSourcePath: ${{ github.workspace }}src/container_apps/Jordnaer.Chat
registryUrl: gcr.io
registryUsername: ${{ secrets.CHAT_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.CHAT_REGISTRY_PASSWORD }}
containerAppName: chat
resourceGroup: Jordnaer
imageToBuild: gcr.io/nielspilgaard/chat:${{ github.sha }}
dockerfilePath: Dockerfile

0 comments on commit 36ee170

Please sign in to comment.