Closed ramnathv closed 1 year ago
@MarkEdmondson1234 This PR allows availableSecrets and build_args to be used with cr_deploy_docker. This can be very useful when your docker image is trying to pull private packages and you dont want to hard code the secrets.
availableSecrets
build_args
cr_deploy_docker
library(googleCloudRunner) secret <- cr_build_yaml_secrets("BITBUCKET_PASSWORD", "BITBUCKET_PASSWORD") cr_deploy_docker( local = ".", remote = "my_docker_image", image_name = "my_docker_image", tag = tag, kaniko_cache = TRUE, build_args = c('--build-arg=BITBUCKET_PASSWORD'), timeout = 1500L, secretEnv = "BITBUCKET_PASSWORD", availableSecrets = list(secret) )
Looks good, thanks!
@MarkEdmondson1234 This PR allows
availableSecrets
andbuild_args
to be used withcr_deploy_docker
. This can be very useful when your docker image is trying to pull private packages and you dont want to hard code the secrets.