Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a87d94e6d | |||
| ec99a501fc |
@@ -74,13 +74,11 @@ jobs:
|
|||||||
RUNNER=${{ steps.config.outputs.runner }}
|
RUNNER=${{ steps.config.outputs.runner }}
|
||||||
|
|
||||||
- name: 🛡️ Run Trivy Vulnerability Scanner
|
- name: 🛡️ Run Trivy Vulnerability Scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: docker://aquasec/trivy:latest
|
||||||
env:
|
env:
|
||||||
|
TRIVY_USERNAME: ${{ gitea.actor }}
|
||||||
|
TRIVY_PASSWORD: ${{ secrets.G1T34_TOKEN }}
|
||||||
# Unset the fake GITHUB_TOKEN injected by Gitea
|
# Unset the fake GITHUB_TOKEN injected by Gitea
|
||||||
GITHUB_TOKEN: ""
|
GITHUB_TOKEN: ""
|
||||||
with:
|
with:
|
||||||
image-ref: ${{ steps.meta.outputs.tags }}
|
args: image --format table --exit-code 1 --ignore-unfixed --severity CRITICAL,HIGH gitea.iswearihadsomethingforthis.net/francwa/${{ steps.config.outputs.image_name }}:latest
|
||||||
format: 'table'
|
|
||||||
exit-code: '1'
|
|
||||||
ignore-unfixed: true
|
|
||||||
severity: 'CRITAL, HIGH'
|
|
||||||
|
|||||||
+3
-2
@@ -1,5 +1,6 @@
|
|||||||
# Dockerfile for Agent Media
|
# syntax=docker/dockerfile:1
|
||||||
# Multi-stage build for smaller image size
|
# check=skip=InvalidDefaultArgInFrom
|
||||||
|
|
||||||
ARG PYTHON_VERSION
|
ARG PYTHON_VERSION
|
||||||
ARG PYTHON_VERSION_SHORT
|
ARG PYTHON_VERSION_SHORT
|
||||||
ARG RUNNER
|
ARG RUNNER
|
||||||
|
|||||||
Reference in New Issue
Block a user