diff --git a/index.js b/index.js index d275850..8fc6020 100644 --- a/index.js +++ b/index.js @@ -52,14 +52,6 @@ async function run() { let container = 'registry.gitlab.steamos.cloud/steamrt/sniper/sdk:0.20231211.70175'; - const envFileStr = await fs.readFile(path.join('engines', engineName, 'env.sh'), 'utf-8'); - const envFileArr = envFileStr.split(/\r?\n/); - for(let i = 0; i < envFileArr.length; i++) { - if(envFileArr[i].indexOf('CUSTOM_CONTAINER') !== -1) { - container = envFileArr[i].split('CUSTOM_CONTAINER=')[1].trim().replace(/['"]+/g, ''); - } - } - console.log(`Found container name: ${container}`); core.setOutput('container', container); } else {