Add .gitea/workflows/*.yaml

This commit is contained in:
2025-10-18 15:01:14 -07:00
parent 3abaedccf5
commit ffe70f38aa

View File

@@ -108,12 +108,13 @@ jobs:
docker load --input /tmp/image.tar docker load --input /tmp/image.tar
docker image ls -a docker image ls -a
- name: Run Trivy vulnerability scanner - name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master uses: aquasecurity/trivy-action@0.28.0
with: with:
image-ref: ${{ inputs.container-name }}:${{ inputs.image-tag }} image-ref: ${{ inputs.container-name }}:${{ inputs.image-tag }}
format: 'json' format: 'json'
output: 'trivy-results.json' output: 'trivy-results.json'
severity: 'CRITICAL,HIGH' severity: 'CRITICAL,HIGH'
cache: 'false' # Disable built-in cache
- name: Upload results - name: Upload results
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: