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
|
||||
run: |
|
||||
trivy image \
|
||||
--timeout 30m \
|
||||
--severity HIGH,CRITICAL \
|
||||
--exit-code 1 \
|
||||
--format table \
|
||||
@@ -118,6 +119,7 @@ jobs:
|
||||
- name: Scan Discord Bot image
|
||||
run: |
|
||||
trivy image \
|
||||
--timeout 30m \
|
||||
--severity HIGH,CRITICAL \
|
||||
--exit-code 1 \
|
||||
--format table \
|
||||
@@ -126,6 +128,7 @@ jobs:
|
||||
- name: Scan Web image
|
||||
run: |
|
||||
trivy image \
|
||||
--timeout 30m \
|
||||
--severity HIGH,CRITICAL \
|
||||
--exit-code 1 \
|
||||
--format table \
|
||||
|
||||
Reference in New Issue
Block a user