MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
80 stars 25 forks source link

allowed make_image_name to pass in a NULL image and return a NULL output #176

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

The issue is that in docker steps, if you do not want to to push an image (only build it), you may want to put in a NULL image so that pushed_image returns NULL and the push_image step gives nothing: https://github.com/MarkEdmondson1234/googleCloudRunner/blob/075aff754cf8191cde5f3f0894c2fba8c7062bf0/R/docker.R#L378