Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinan-96 authored Sep 16, 2024
1 parent 8d3541f commit 37c444e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,17 @@ jobs:
file: Dockerfile
build-args: |
DATABASE_URL=your_database_url
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Redeploy Azure Container App
run: |
az containerapp revision copy \
--name your-container-app-name \
--resource-group your-resource-group \
--cpu 0.5 \
--memory 1.0 \
--image ${{ secrets.AZURE_URL }}/your-image:${{ github.ref }}

0 comments on commit 37c444e

Please sign in to comment.