Created
June 30, 2022 11:06
-
-
Save brurucy/b818de60524080a02ecac40c9832cfc4 to your computer and use it in GitHub Desktop.
neodora-test-snippet-example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_deny_different_images { | |
imageDefinition[{ | |
"ciImage": "node:14-alpine", | |
"normalImage": "php:16-alpine", | |
}] with input as [[{ | |
"Cmd": "from", | |
"Flags": [], | |
"JSON": false, | |
"Stage": 0, | |
"SubCmd": "", | |
"Value": ["node:14-alpine"], | |
}]] | |
with data.neodora.files as { | |
"go.mod": null, | |
"Dockerfile": [[{ | |
"Cmd": "from", | |
"Flags": [], | |
"JSON": false, | |
"Stage": 0, | |
"SubCmd": "", | |
"Value": ["php:16-alpine"], | |
}]], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment