mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-29 17:05:46 +08:00
Fix json keys for groups and targets
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
This commit is contained in:
parent
340686a383
commit
1bc068a583
@ -72,8 +72,8 @@ func ParseFile(fn string) (*Config, error) {
|
||||
|
||||
type Config struct {
|
||||
Variables []*Variable `json:"-" hcl:"variable,block"`
|
||||
Groups []*Group `json:"groups" hcl:"group,block"`
|
||||
Targets []*Target `json:"targets" hcl:"target,block"`
|
||||
Groups []*Group `json:"group" hcl:"group,block"`
|
||||
Targets []*Target `json:"target" hcl:"target,block"`
|
||||
Remain hcl.Body `json:"-" hcl:",remain"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user