From dea16790d523594056fa8a2f710c1a5c502d8649 Mon Sep 17 00:00:00 2001 From: Andreas Bucksteeg Date: Sat, 9 Nov 2024 16:12:35 +0100 Subject: [PATCH] chore: removing the need to adjust the GHA per Opensource Repo --- .github/workflows/cve-scan.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cve-scan.yaml b/.github/workflows/cve-scan.yaml index 1d2d211648..bbd83eeb45 100644 --- a/.github/workflows/cve-scan.yaml +++ b/.github/workflows/cve-scan.yaml @@ -25,7 +25,7 @@ jobs: shell: bash run: | echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}" - echo "IMAGE_NAME=oryd/hydra:$(git rev-parse --short HEAD)-sqlite" >> "${GITHUB_ENV}" + echo "IMAGE_NAME=oryd/${{ github.event.repository.name }}:$(git rev-parse --short HEAD)" >> "${GITHUB_ENV}" - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx @@ -35,7 +35,6 @@ jobs: run: | IMAGE_TAG="${{ env.SHA_SHORT }}" make docker - # Add GitHub authentication for Trivy - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -43,7 +42,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - # Configure Trivy - name: Configure Trivy run: | mkdir -p $HOME/.cache/trivy