ci: add --load flag to docker build
Some checks failed
CI / Security Scan (push) Successful in 33s
CI / Lint & Format (push) Successful in 38s
CI / Security Tests (push) Successful in 40s
CI / Unit Tests (push) Successful in 1m4s
CI / Advanced Security Tests (push) Successful in 28s
CI / Memory Leak Check (push) Successful in 29s
CI / Fuzz Testing (push) Successful in 40s
CI / SBOM Generation (push) Successful in 32s
CI / Build & Push Image (push) Successful in 32s
CI / Harbor Vulnerability Scan (push) Failing after 30s
Some checks failed
CI / Security Scan (push) Successful in 33s
CI / Lint & Format (push) Successful in 38s
CI / Security Tests (push) Successful in 40s
CI / Unit Tests (push) Successful in 1m4s
CI / Advanced Security Tests (push) Successful in 28s
CI / Memory Leak Check (push) Successful in 29s
CI / Fuzz Testing (push) Successful in 40s
CI / SBOM Generation (push) Successful in 32s
CI / Build & Push Image (push) Successful in 32s
CI / Harbor Vulnerability Scan (push) Failing after 30s
This commit is contained in:
@@ -304,7 +304,7 @@ jobs:
|
||||
echo "Using: $BUILD_CMD"
|
||||
|
||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||
$BUILD_CMD build -f Containerfile -t flaskpaste:latest -t flaskpaste:sha-${SHORT_SHA} .
|
||||
$BUILD_CMD build --load -f Containerfile -t flaskpaste:latest -t flaskpaste:sha-${SHORT_SHA} .
|
||||
echo "Image built"
|
||||
$BUILD_CMD images | grep flaskpaste
|
||||
|
||||
|
||||
Reference in New Issue
Block a user