Skip to content

Commit d341551

Browse files
Merge pull request #11 from Arnab-Developer/use-ghcr
Use ghcr
2 parents 6e9aac7 + 394775b commit d341551

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
3333

3434
- name: Docker build
35-
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6 .
35+
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6 .
3636

3737
codeql-analysis:
3838
name: CodeQL analysis
@@ -72,13 +72,13 @@ jobs:
7272
run: dotnet publish 'HttpHealthCheckDashboard/HttpHealthCheckDashboard.csproj' --configuration ${{ env.CONFIGURATION }} -o 'HttpHealthCheckDashboard/bin/publish'
7373

7474
- name: Docker build
75-
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6 .
75+
run: docker build -f 'HttpHealthCheckDashboard/Dockerfile' -t ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6 .
7676

7777
- name: Docker push
7878
run: |
79-
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u Arnab-Developer --password-stdin
80-
docker push docker.pkg.github.com/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6
81-
docker logout https://docker.pkg.github.com
79+
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u Arnab-Developer --password-stdin
80+
docker push ghcr.io/arnab-developer/httphealthcheckdashboard/httphealthcheckdashboard:2.0.6
81+
docker logout ghcr.io
8282
8383
dockerhub-deploy:
8484
if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)