diff --git a/.github/workflows/cve-scan.yaml b/.github/workflows/cve-scan.yaml index a82c5159fe0..3b74e2cbf08 100644 --- a/.github/workflows/cve-scan.yaml +++ b/.github/workflows/cve-scan.yaml @@ -30,11 +30,13 @@ jobs: # Append -sqlite to SHA_SHORT if repo is hydra if [ "${REPO_NAME}" = "hydra" ]; then - SHA_SHORT="${SHA_SHORT}-sqlite" + echo "Repo is hydra, appending -sqlite to SHA_SHORT" + IMAGE_NAME="oryd/${REPO_NAME}:${SHA_SHORT}" + else + echo "Repo is not hydra, using default IMAGE_NAME" + IMAGE_NAME="oryd/${REPO_NAME}:${SHA_SHORT}-sqlite" fi - IMAGE_NAME="oryd/${REPO_NAME}:${SHA_SHORT}" - # Output values for debugging echo "Values to be set:" echo "SHA_SHORT: ${SHA_SHORT}"