Skip to content

Commit 6358d74

Browse files
docker build in ci
1 parent 6517fba commit 6358d74

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
- name: Build
2929
run: dotnet build --configuration ${{ env.CONFIGURATION }}
3030

31+
- name: Publish
32+
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
33+
34+
- name: Docker build
35+
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6 .
36+
3137
github-package-deploy:
3238
if: ${{ github.event_name == 'push' }}
3339
name: GitHub package deploy

0 commit comments

Comments
 (0)