Skip to content

Commit

Permalink
Merge pull request #280 from eitsupi/update-reports
Browse files Browse the repository at this point in the history
Reports: Add base image name
  • Loading branch information
cboettig authored Nov 6, 2021
2 parents 681d633 + 76e9752 commit a382d7d
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 a382d7d

Please sign in to comment.