ImageCreateWizard: Use imageOutputStepMapper in all imageOutput steps
Also renamed the stepMapper to clarify that it's just meant for the imageOutput steps.
This commit is contained in:
parent
1125222232
commit
d8de57508d
6 changed files with 8 additions and 7 deletions
|
|
@ -1,15 +0,0 @@
|
|||
export default ({ 'target-environment': targetEnv, release } = {}, { skipAws, skipGoogle, sipAzure } = {}) => {
|
||||
if (!skipAws && targetEnv?.aws) {
|
||||
return 'aws-target-env';
|
||||
}
|
||||
|
||||
if (!skipGoogle && targetEnv?.google) {
|
||||
return 'google-cloud-target-env';
|
||||
}
|
||||
|
||||
if (!sipAzure && targetEnv?.azure) {
|
||||
return 'ms-azure-target-env';
|
||||
}
|
||||
|
||||
return release === 'rhel-8' ? 'registration' : 'packages';
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue