fix image rm
This commit is contained in:
@@ -45,6 +45,9 @@ jobs:
|
||||
trivy image --no-progress --severity HIGH,CRITICAL \
|
||||
--format json "${NAME}:latest" \
|
||||
> "/tmp/image-scan-${NAME}.json" || true
|
||||
|
||||
echo "Removing image: ${NAME}"
|
||||
docker rmi -f "${NAME}:latest" || true
|
||||
done
|
||||
|
||||
- name: Generate and publish security report to wiki
|
||||
|
||||
Reference in New Issue
Block a user