devops-infra/Container Structure Test

GitHub Action running Google Container Structure Tests against a container image

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
imageImage to test (required unless using image_from_oci_layout)no
configPath(s) to test config file(s), space or newline-separatedyes
driverDriver to use when running tests (docker, tar, host)nodocker
platformPlatform to test (e.g. linux/amd64, linux/arm64)no
pullForce pull the image before running testsnofalse
savePreserve created containers after test runnofalse
quietSuppress test outputnofalse
no_colorDisable colorized outputnofalse
outputOutput format for the test results (text, json, junit)notext
test_reportWrite test results to this file path (text output is converted to json by CST)no
junit_suite_nameName for the JUnit test suite (only used when output is junit)no
metadataPath to image metadata fileno
runtimeRuntime to use with the docker driverno
forceForce run of host driver without interactive promptnofalse
image_from_oci_layoutPath to OCI image layout directory to test against (mutually exclusive with image)no
default_image_tagDefault image tag when OCI layout lacks a ref annotation (requires image_from_oci_layout)no
ignore_ref_annotationIgnore org.opencontainers.image.ref.name annotation when loading OCI layoutnofalse
debugEnable verbose debug loggingnofalse
namedescription
totalTotal number of tests executed
passedNumber of tests that passed
failedNumber of tests that failed
exit_codeExit code returned by container-structure-test