ci(deploy): increase trivy image scan timeout to 30m
Slow ARM64 runners hit the default timeout while initializing the container image scan after pulling. Extend the timeout so image scans can complete reliably.
This commit is contained in:
@@ -110,6 +110,7 @@ jobs:
|
|||||||
- name: Scan Bot image
|
- name: Scan Bot image
|
||||||
run: |
|
run: |
|
||||||
trivy image \
|
trivy image \
|
||||||
|
--timeout 30m \
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--exit-code 1 \
|
--exit-code 1 \
|
||||||
--format table \
|
--format table \
|
||||||
@@ -118,6 +119,7 @@ jobs:
|
|||||||
- name: Scan Discord Bot image
|
- name: Scan Discord Bot image
|
||||||
run: |
|
run: |
|
||||||
trivy image \
|
trivy image \
|
||||||
|
--timeout 30m \
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--exit-code 1 \
|
--exit-code 1 \
|
||||||
--format table \
|
--format table \
|
||||||
@@ -126,6 +128,7 @@ jobs:
|
|||||||
- name: Scan Web image
|
- name: Scan Web image
|
||||||
run: |
|
run: |
|
||||||
trivy image \
|
trivy image \
|
||||||
|
--timeout 30m \
|
||||||
--severity HIGH,CRITICAL \
|
--severity HIGH,CRITICAL \
|
||||||
--exit-code 1 \
|
--exit-code 1 \
|
||||||
--format table \
|
--format table \
|
||||||
|
|||||||
Reference in New Issue
Block a user