docker apply env on commands where we are using '-e' (#11)

* added wrapper for docker -e to apply env

* added envs around services as well

* added wrapping environment around execute command

* fixed setting the env variable for containerRun

* added env to exec and not to handle envs by ourself

* returned back the comment to run-container-step
This commit is contained in:
Nikola Jokic
2022-06-13 17:13:47 +02:00
committed by GitHub
parent de59bd8716
commit 643bf36fd8
3 changed files with 9 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ const exec = require('@actions/exec')
export interface RunDockerCommandOptions {
workingDir?: string
input?: Buffer
env?: { [key: string]: string }
}
export async function runDockerCommand(