Move Cloud Run image property to GCP config struct

Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
This commit is contained in:
Tihomir Jovicic
2021-06-10 11:45:52 +02:00
parent 5d8219a8f3
commit 83eebf82fa
14 changed files with 56 additions and 109 deletions

View File

@@ -13,9 +13,6 @@ import (
// service name
serviceName: string @dagger(input)
// region to which deploy the service
region: *"us-west2" | string @dagger(input)
// GCR image ref
image: string @dagger(input)
@@ -44,7 +41,7 @@ import (
env: {
SERVICE_NAME: serviceName
PLATFORM: platform
REGION: region
REGION: config.region
IMAGE: image
}
},