diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f6b0a09..030b368 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: CI +name: CI/CD on: push: @@ -25,12 +25,12 @@ jobs: - name: Build Docker image run: | - docker build -t ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }} . + docker build -t ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }} . - name: Push Docker image run: | - docker push ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }} + docker push ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }} - name: Output image tag run: | - echo "Image: ghcr.io/${{ github.repository }}/demo-app:${{ github.sha }}" \ No newline at end of file + echo "Image: ghcr.io/${{ github.repository_owner | toLowerCase }}/demo-app:${{ github.sha }}"