Skip to contents

Is the Docker build recent?

Usage

isDockerBuildRecent(image, days = 2L)

Arguments

image

character. Docker image name (e.g. repo/image). Parameterized, supporting multiple image checks in a single call.

days

integer(1). Maximum number of days to consider build recent.

Value

logical.

Note

Updated 2023-03-16.

Examples

## > image <- "public.ecr.aws/acidgenomics/koopa:debian"
## > isDockerBuildRecent(image)