add a label to signal that a deploy is connected with a recipe ()

Resolves  by adding the following label `coop-cloud.${STACK_NAME}.recipe=${RECIPE}` (according to the version label).
This is required for the auto updater 

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: 
This commit is contained in:
2023-01-31 14:35:43 +00:00
parent ca1ea32c46
commit 50db39424c
4 changed files with 15 additions and 0 deletions
cli
pkg/config

@ -179,6 +179,7 @@ recipes.
logrus.Fatal(err)
}
config.ExposeAllEnv(stackName, compose, app.Env)
config.SetRecipeLabel(compose, stackName, app.Recipe)
if !internal.Force {
if err := internal.NewVersionOverview(app, deployedVersion, chosenDowngrade, ""); err != nil {