88 - demo
99 paths :
1010 - ' src/backend/**'
11- - ' src/app/frontend/**'
12- - ' src/app/frontend-server/**'
11+ - ' src/App/**'
1312 - ' .github/workflows/docker-build.yml'
1413 pull_request :
1514 types :
2322 - demo
2423 paths :
2524 - ' src/backend/**'
26- - ' src/app/frontend/**'
27- - ' src/app/frontend-server/**'
25+ - ' src/App/**'
2826 - ' .github/workflows/docker-build.yml'
2927 workflow_dispatch :
3028
@@ -44,10 +42,10 @@ jobs:
4442
4543 steps :
4644 - name : Checkout repository
47- uses : actions/checkout@v4
45+ uses : actions/checkout@v6
4846
4947 - name : Set up Docker Buildx
50- uses : docker/setup-buildx-action@v3
48+ uses : docker/setup-buildx-action@v4
5149
5250 - name : Login to Azure (OIDC)
5351 if : ${{ (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo')) || (github.event_name == 'workflow_dispatch' && (github.ref_name == 'dependabotchanges'||github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo')) }}
@@ -86,17 +84,17 @@ jobs:
8684
8785 fi
8886 - name : Build and Push Docker Image for Frontend Server
89- uses : docker/build-push-action@v6
87+ uses : docker/build-push-action@v7
9088 with :
91- context : ./src/app
92- file : ./src/app /WebApp.Dockerfile
89+ context : ./src/App
90+ file : ./src/App /WebApp.Dockerfile
9391 push : ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'dependabotchanges' }}
9492 tags : |
9593 ${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-app:${{ steps.determine_tag.outputs.tagname }}
9694 ${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}/content-gen-app:${{ steps.determine_tag.outputs.tagname }}_${{ steps.date.outputs.date }}_${{ github.run_number }}
9795
9896 - name : Build and Push Docker Image for Backend Server
99- uses : docker/build-push-action@v6
97+ uses : docker/build-push-action@v7
10098 with :
10199 context : ./src/backend
102100 file : ./src/backend/ApiApp.Dockerfile
0 commit comments