Skip to content

Commit

Permalink
Upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnab-Developer committed May 4, 2022
1 parent 75ddcb5 commit f62d73a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'

- name: Docker build
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.9 .
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:3.0.0 .

codeql-analysis:
name: CodeQL analysis
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'

- name: Docker build
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.9 .
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:3.0.0 .

- name: GitHub Container Registry login
uses: docker/login-action@v1
Expand All @@ -84,7 +84,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker push
run: docker push ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.9
run: docker push ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:3.0.0

dockerhub-deploy:
if: ${{ github.event_name == 'release' }}
Expand All @@ -108,7 +108,7 @@ jobs:
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'

- name: Docker build
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t 45862391/httphealthcheckdashboard:2.0.9 .
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t 45862391/httphealthcheckdashboard:3.0.0 .

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand All @@ -117,4 +117,4 @@ jobs:
password: ${{ secrets.DOCKERHUB_PWD }}

- name: Docker push
run: docker push 45862391/httphealthcheckdashboard:2.0.9
run: docker push 45862391/httphealthcheckdashboard:3.0.0

0 comments on commit f62d73a

Please sign in to comment.