mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-15 11:02:19 +08:00
Minor fix
This commit is contained in:
parent
346e5b60f0
commit
b5e9247a76
@ -155,7 +155,7 @@ function getFilePathsConfigs() {
|
|||||||
let imageDockerfilePathMap = {};
|
let imageDockerfilePathMap = {};
|
||||||
let pathKey, pathVal;
|
let pathKey, pathVal;
|
||||||
//Fetching from env var if available
|
//Fetching from env var if available
|
||||||
let dockerfilePathsList = (process.env.DOCKERFILEPATHS && process.env.DOCKERFILEPATHS.split('\n')) || [];
|
let dockerfilePathsList = (process.env.DOCKERFILE_PATHS && process.env.DOCKERFILE_PATHS.split('\n')) || [];
|
||||||
dockerfilePathsList.forEach(path => {
|
dockerfilePathsList.forEach(path => {
|
||||||
if (path) {
|
if (path) {
|
||||||
pathKey = path.split(' ')[0];
|
pathKey = path.split(' ')[0];
|
||||||
|
|||||||
@ -149,7 +149,7 @@ export async function getFilePathsConfigs(): Promise<any> {
|
|||||||
let pathKey: any, pathVal: any;
|
let pathKey: any, pathVal: any;
|
||||||
|
|
||||||
//Fetching from env var if available
|
//Fetching from env var if available
|
||||||
let dockerfilePathsList: any[] = (process.env.DOCKERFILEPATHS && process.env.DOCKERFILEPATHS.split('\n')) || [];
|
let dockerfilePathsList: any[] = (process.env.DOCKERFILE_PATHS && process.env.DOCKERFILE_PATHS.split('\n')) || [];
|
||||||
dockerfilePathsList.forEach(path => {
|
dockerfilePathsList.forEach(path => {
|
||||||
if(path){
|
if(path){
|
||||||
pathKey = path.split(' ')[0];
|
pathKey = path.split(' ')[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user