switch to new image and update trivy checks
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
scan:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: gitea.tech-buddy.at/bitbuddydev/gitea_runner_python314:dev-bda315b82bb23d83065b77d91fedf0e20d9accf1
|
||||
image: gitea.tech-buddy.at/bitbuddydev/gitea_runner_python314:1.0.3
|
||||
credentials:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
@@ -48,8 +48,8 @@ jobs:
|
||||
# checksum, never "latest": Trivy releases were compromised in the
|
||||
# March 2026 supply-chain incident (malicious v0.69.4). Keep in sync
|
||||
# with the ARGs in the PipelineImage Dockerfiles.
|
||||
TRIVY_VERSION=0.71.0
|
||||
TRIVY_SHA256=30a3d22b23f88c233f1658f562fb477cae3b3e8b4761109d515b7698daf85814
|
||||
TRIVY_VERSION=0.72.0
|
||||
TRIVY_SHA256=bbb64b9695866ce4a7a8f5c9592002c5961cab378577fa3f8a040df362b9b2ea
|
||||
if ! command -v trivy >/dev/null 2>&1; then
|
||||
echo "=== Trivy not in runner image, installing v${TRIVY_VERSION} ==="
|
||||
curl -sSfLO "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user