We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9588d48 commit 6d386fcCopy full SHA for 6d386fc
1 file changed
.github/workflows/trivy_scan.yml
@@ -10,7 +10,7 @@ on:
10
11
env:
12
REGISTRY: ghcr.io
13
- IMAGE_NAME: ${{ github.repository }}
+ IMAGE_NAME: ${{ github.repository_owner }}/${{ github.event.repository.name }}
14
TRIVY_SECURITY: SECURITY
15
16
jobs:
@@ -25,6 +25,9 @@ jobs:
25
- name: Checkout repository
26
uses: actions/checkout@v4
27
28
+ - name: Set lowercase image name
29
+ run: echo "IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
30
+
31
- name: Extract tag from workflow run
32
run: |
33
TAG_REF="${{ github.event.workflow_run.head_ref }}"
0 commit comments