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 c671fb2 commit bfe5c90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
# Store values in local variables
SHA_SHORT=$(git rev-parse --short HEAD)
REPO_NAME=${{ github.event.repository.name }}
# Append -sqlite to SHA_SHORT if repo is hydra
if [ "${REPO_NAME}" = "hydra" ]; then
SHA_SHORT="${SHA_SHORT}-sqlite"
fi
IMAGE_NAME="oryd/${REPO_NAME}:${SHA_SHORT}"
# Output values for debugging
Expand Down

0 comments on commit bfe5c90

Please sign in to comment.