Build default Docker image on release

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
This commit is contained in:
Tim Hansen
2022-05-27 11:28:57 -06:00
committed by Tim Hansen
parent f9e2ec2551
commit f281ad17c0
6 changed files with 117 additions and 29 deletions
+8
View File
@@ -49,6 +49,14 @@ export default async (opts: OptionValues): Promise<void> => {
}
return true;
},
when: (a: Answers) => {
const envName = process.env.BACKSTAGE_APP_NAME;
if (envName) {
a.name = envName;
return false;
}
return true;
},
},
]);