Resolving the Errors

This commit is contained in:
Nick1200000 committed 2025-06-08 13:24:38 +05:30
1 parent 020f6a123d
commit 8666ffaff3
1 file changed
+4 -4
+4 -4
View File
@@ -30,10 +30,10 @@ jobs:
- name: Build and push to GitHub Container Registry
run: |
docker build -t ghcr.io/${{ github.repository }}:latest .
docker push ghcr.io/${{ github.repository }}:latest
docker build -t ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest .
docker push ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
- name: Build and push to Docker Hub
run: |
docker build -t ${{ github.repository }}:latest .
docker push ${{ github.repository }}:latest
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest