Update Trivy version to v0.66.0 for consistency
This commit is contained in:
@@ -25,7 +25,7 @@ A reusable Gitea Action that downloads and sets up the Trivy binary for vulnerab
|
|||||||
- name: Setup Trivy
|
- name: Setup Trivy
|
||||||
uses: your-username/trivy-actions@main/setup-trivy
|
uses: your-username/trivy-actions@main/setup-trivy
|
||||||
with:
|
with:
|
||||||
version: "v0.57.1" # Optional: Trivy version (default: v0.57.1)
|
version: "v0.66.0" # Optional: Trivy version (default: v0.66.0)
|
||||||
architecture: "amd64" # Optional: amd64 or arm64 (default: amd64)
|
architecture: "amd64" # Optional: amd64 or arm64 (default: amd64)
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
- name: Setup Trivy
|
- name: Setup Trivy
|
||||||
uses: your-username/trivy-actions@main/setup-trivy
|
uses: your-username/trivy-actions@main/setup-trivy
|
||||||
with:
|
with:
|
||||||
version: "v0.57.1"
|
version: "v0.66.0"
|
||||||
architecture: "amd64"
|
architecture: "amd64"
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
@@ -68,7 +68,7 @@ The action is structured into logical steps for better maintainability:
|
|||||||
|
|
||||||
| Input | Description | Required | Default |
|
| Input | Description | Required | Default |
|
||||||
| -------------- | ----------------------------------------- | -------- | --------- |
|
| -------------- | ----------------------------------------- | -------- | --------- |
|
||||||
| `version` | Trivy version to download (e.g., v0.57.1) | No | `v0.57.1` |
|
| `version` | Trivy version to download (e.g., v0.66.0) | No | `v0.66.0` |
|
||||||
| `architecture` | System architecture (amd64, arm64) | No | `amd64` |
|
| `architecture` | System architecture (amd64, arm64) | No | `amd64` |
|
||||||
|
|
||||||
## Supported Platforms
|
## Supported Platforms
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ branding:
|
|||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "Trivy version to download (e.g., v0.57.1)"
|
description: "Trivy version to download (e.g., v0.66.0)"
|
||||||
required: false
|
required: false
|
||||||
default: "v0.57.1"
|
default: "v0.66.0"
|
||||||
architecture:
|
architecture:
|
||||||
description: "System architecture (amd64, arm64)"
|
description: "System architecture (amd64, arm64)"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
Reference in New Issue
Block a user