Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
identw committed Feb 28, 2024
1 parent 67fe353 commit 855ba61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js-action/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ async function main() {
}, '');
}

if ('envs' in image) {
for (e of image.envs) {
console.log(`${e.name} = ${e.value}`);
process.env[e.name] = e.value;
}
}
runCommand(`env | grep LALKA`);
// build image
runCommand(`docker build ${file} ${args} ${secrets} --tag ${imageTag} ${target} .`);

Expand Down

0 comments on commit 855ba61

Please sign in to comment.