Skip to content

Commit

Permalink
build: fix bake-json format
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Apr 23, 2024
1 parent edb71db commit 2787e2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bakefiles/4.3.2.extra.docker-bake.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"binder": [
{
"targets": "binder"
"targets": ["binder"]
}
],
"cuda": [
Expand Down
2 changes: 1 addition & 1 deletion bakefiles/4.3.3.extra.docker-bake.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"binder": [
{
"targets": "binder"
"targets": ["binder"]
}
],
"cuda": [
Expand Down
3 changes: 3 additions & 0 deletions build/scripts/generate-bakefiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ write_extra_bakefile <- function(..., bakefile_template, path_template) {
as.list()
}

# Prevent auto unboxing
bake_json_content$group$binder[[1]]$targets[[1]] <- I("binder")

# Update labels, tags, platforms, cache-to
# TODO: Do not repeat these
## binder
Expand Down

0 comments on commit 2787e2d

Please sign in to comment.