Merge pull request #24 from docker/fix-tests

Fix tests
This commit is contained in:
Jonny Stoten
2024-06-21 12:31:22 +01:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

@@ -7,10 +7,6 @@ on:
branches:
- main
pull_request:
paths-ignore:
- "**.md"
branches:
- main
permissions:
contents: read

View File

@@ -37,7 +37,7 @@ teardown_file() {
run kubectl run nginx --image=nginx -n test --dry-run=server
# should deny pod admission if the image doesn't pass policy
assert_failure
assert_match 'admit: false' "${output}"
assert_match 'type: missing_attestation' "${output}"
}
# TODO: write mutating webhook policy