main: fix exec syntax

This commit is contained in:
Dawid Dziurla 2020-12-26 18:00:53 +01:00 committed by GitHub
parent 147656c479
commit 6d3065e17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,17 +92,17 @@ async function main() {
await exec.exec("docker", [ await exec.exec("docker", [
"exec", "exec",
container, container,
"bash -c 'rm /etc/apt/apt.conf.d/*'" "bash", "-c", "rm /etc/apt/apt.conf.d/*"
]) ])
await exec.exec("docker", [ await exec.exec("docker", [
"exec", "exec",
container, container,
"bash -c 'echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm'" "bash", "-c", "echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm"
]) ])
await exec.exec("docker", [ await exec.exec("docker", [
"exec", "exec",
container, container,
"bash -c 'echo debconf debconf/frontend select Noninteractive | debconf-set-selections'" "bash", "-c", "echo debconf debconf/frontend select Noninteractive | debconf-set-selections"
]) ])
core.endGroup() core.endGroup()