.
This commit is contained in:
12
.github/workflows/cd-backend.yml
vendored
12
.github/workflows/cd-backend.yml
vendored
@@ -28,13 +28,13 @@ jobs:
|
||||
tags: ${{ secrets.DOCKER_IMAGE_PATH }}:${{ github.sha }}
|
||||
cache-from: type=registry,ref=${{ secrets.DOCKER_IMAGE_PATH }}:buildcache
|
||||
cache-to: type=registry,ref=${{ secrets.DOCKER_IMAGE_PATH }}:buildcache,mode=max
|
||||
-
|
||||
name: Login to Azure
|
||||
uses: azure/login@v1
|
||||
env:
|
||||
CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
-
|
||||
name: Azure login
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: $CREDENTIALS
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
-
|
||||
name: Deploy Container
|
||||
uses: azure/container-apps-deploy-action@v1
|
||||
|
Reference in New Issue
Block a user