This commit is contained in:
Ganeshrockz
2021-04-14 15:31:19 +05:30
parent 625898f6eb
commit ee4b5d33e0
2 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import * as core from '@actions/core';
export let namespace: string = core.getInput('namespace');
export const containers: string[] = core.getInput('images').split('\n');
export const imagePullSecrets: string[] = core.getInput('imagepullsecrets').split('\n').filter(secret => secret.trim().length > 0);
export const manifests = core.getInput('manifests').split(/[\n,]+/);
export const manifests = core.getInput('manifests').split(/[\n,]+/).filter(manifest => manifest.trim().length > 0);
export const canaryPercentage: string = core.getInput('percentage');
export const deploymentStrategy: string = core.getInput('strategy');
export const trafficSplitMethod: string = core.getInput('traffic-split-method');