# NOT RUN {
cr_project_set("my-project")
image <- "gcr.io/my-project/my-image"
cr_build_yaml(
steps = c(
cr_buildstep("docker", c("build", "-t", image, ".")),
cr_buildstep("docker", c("push", image)),
cr_buildstep("gcloud", c("beta", "run", "deploy", "test1", "--image", image))
),
images = image
)
# }
Run the code above in your browser using DataLab