ci: add delay before harbor scan for image indexing
Some checks failed
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Successful in 22s
CI / Advanced Security Tests (push) Successful in 15s
CI / Memory Leak Check (push) Successful in 19s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / Fuzz Testing (push) Successful in 25s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Successful in 18s
CI / Harbor Vulnerability Scan (push) Failing after 23s
Some checks failed
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Successful in 22s
CI / Advanced Security Tests (push) Successful in 15s
CI / Memory Leak Check (push) Successful in 19s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / Fuzz Testing (push) Successful in 25s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Successful in 18s
CI / Harbor Vulnerability Scan (push) Failing after 23s
This commit is contained in:
@@ -386,6 +386,10 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Wait for Harbor to index the pushed images
|
||||||
|
echo "Waiting for Harbor to index images..."
|
||||||
|
sleep 15
|
||||||
|
|
||||||
# Scan standard image
|
# Scan standard image
|
||||||
echo "Triggering vulnerability scan for standard image..."
|
echo "Triggering vulnerability scan for standard image..."
|
||||||
python harbor-ctl.py --url https://harbor.mymx.me \
|
python harbor-ctl.py --url https://harbor.mymx.me \
|
||||||
|
|||||||
Reference in New Issue
Block a user