Update aquasec/trivy Docker tag to v0.76.2 #43
No files matched your search
@@ -80,7 +80,7 @@ jobs:
|
|||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
||||||
--add-host=dockerhost:host-gateway \
|
--add-host=dockerhost:host-gateway \
|
||||||
aquasec/trivy:0.74.0 image --exit-code 1 --severity CRITICAL lumeex:ci
|
aquasec/trivy:0.76.2 image --exit-code 1 --severity CRITICAL lumeex:ci
|
||||||
|
|
||||||
- name: Handle CRITICAL findings
|
- name: Handle CRITICAL findings
|
||||||
if: steps.trivy_critical.outcome == 'failure'
|
if: steps.trivy_critical.outcome == 'failure'
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
if docker run --rm \
|
if docker run --rm \
|
||||||
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
||||||
--add-host=dockerhost:host-gateway \
|
--add-host=dockerhost:host-gateway \
|
||||||
aquasec/trivy:0.74.0 image --exit-code 1 --severity CRITICAL lumeex:remediated; then
|
aquasec/trivy:0.76.2 image --exit-code 1 --severity CRITICAL lumeex:remediated; then
|
||||||
echo "apk upgrade clears the CRITICAL finding(s) — opening a PR for review."
|
echo "apk upgrade clears the CRITICAL finding(s) — opening a PR for review."
|
||||||
|
|
||||||
BRANCH="auto/cve-fix-$(date +%Y%m%d)-$(echo "${{ github.sha }}" | cut -c1-7)"
|
BRANCH="auto/cve-fix-$(date +%Y%m%d)-$(echo "${{ github.sha }}" | cut -c1-7)"
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
-e DOCKER_HOST=tcp://dockerhost:2375 \
|
||||||
--add-host=dockerhost:host-gateway \
|
--add-host=dockerhost:host-gateway \
|
||||||
aquasec/trivy:0.74.0 image --exit-code 0 --severity HIGH lumeex:ci
|
aquasec/trivy:0.76.2 image --exit-code 0 --severity HIGH lumeex:ci
|
||||||
|
|
||||||
- name: Publish tagged image
|
- name: Publish tagged image
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchManagers": ["custom.regex"],
|
||||||
|
"pinDigests": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["pip_requirements"],
|
"matchManagers": ["pip_requirements"],
|
||||||
"minimumReleaseAge": "7 days"
|
"minimumReleaseAge": "7 days"
|
||||||
|
|||||||
Reference in new issue
Block a user