bake: support composable attributes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
38
__tests__/.fixtures/bake-03-default.json
Normal file
38
__tests__/.fixtures/bake-03-default.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"target": {
|
||||
"default": {
|
||||
"context": ".",
|
||||
"dockerfile": "Dockerfile",
|
||||
"cache-from": [
|
||||
{
|
||||
"scope": "build",
|
||||
"type": "gha"
|
||||
},
|
||||
{
|
||||
"ref": "user/repo:cache",
|
||||
"type": "registry"
|
||||
}
|
||||
],
|
||||
"cache-to": [
|
||||
{
|
||||
"mode": "max",
|
||||
"scope": "build",
|
||||
"type": "gha"
|
||||
},
|
||||
{
|
||||
"type": "inline"
|
||||
}
|
||||
],
|
||||
"output": [
|
||||
{
|
||||
"dest": "./release-out",
|
||||
"type": "local"
|
||||
},
|
||||
{
|
||||
"ref": "user/app",
|
||||
"type": "registry"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user