Skip to content

Commit

Permalink
add base image names to build reports
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Nov 5, 2021
1 parent 681d633 commit 76e9752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/reports/template.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ df_inspect <- jsonlite::read_json(params$inspect_file) |>
"RepoDigests",
ImageSource = list("Config", "Labels", "org.opencontainers.image.source"),
ImageRevision = list("Config", "Labels", "org.opencontainers.image.revision"),
BaseImage = list("Config", "Labels", "org.opencontainers.image.base.name"),
CreatedTime = "Created",
"Size",
Env = list("Config", "Env")
Expand All @@ -81,6 +82,7 @@ df_inspect |>
ImageID = paste0("`", ImageID, "`"),
RepoTags = .unlist_and_enclose(RepoTags),
RepoDigests = .unlist_and_enclose(RepoDigests),
BaseImage = paste0("`", BaseImage, "`"),
Size = paste0(format(round(Size / 10^6), big.mark = ","), "MB"),
Env = paste(unlist(Env), collapse = ", ")
) |>
Expand Down

0 comments on commit 76e9752

Please sign in to comment.