From 1634daaf068e884ea93db3d3c60d63b5e2f64938 Mon Sep 17 00:00:00 2001 From: JUN SAKATA Date: Sat, 11 Jan 2020 23:11:14 +0900 Subject: [PATCH] fix config name --- config-example.yaml | 2 +- flow/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-example.yaml b/config-example.yaml index 980568c..ee6f1d4 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -1,6 +1,6 @@ applications: - name: example - image_tag: gcr.io/$PROJECT_ID/foo + image: gcr.io/$PROJECT_ID/foo source_owner: sakajunquality source_name: example-app manifest_owner: sakajunquality diff --git a/flow/config.go b/flow/config.go index 9e9adb9..2ebb9bf 100644 --- a/flow/config.go +++ b/flow/config.go @@ -18,7 +18,7 @@ type Application struct { RewriteVersion bool `yaml:"rewrite_version"` RewriteNewTag bool `yaml:"rewrite_new_tag"` - Image string `yaml:"image_tag"` + Image string `yaml:"image"` Manifests []Manifest `yaml:"manifests"` }