fix image name in the sca scan step

This commit is contained in:
Dan Alima 2023-12-31 14:32:51 +02:00
parent d238b2939c
commit 6c98b89be7

View file

@ -42,7 +42,7 @@ jobs:
- name: Scan the project with your preferred SCA tool
run: |
jf docker scan --format json danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }} > ${{ env.SCA_REPORT_FILE }}
jf docker scan --format json ${{ env.IMAGE_NAME }} > ${{ env.SCA_REPORT_FILE }}
- uses: actions/upload-artifact@v4
with: