Skip to content

Commit

Permalink
chore: add hydra special case for tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky42 committed Nov 9, 2024
1 parent bfe5c90 commit ccb7f43
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit ccb7f43

Please sign in to comment.