From c74ec7fd4f1e9692833a9a8dcd203953ec9d8abe Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 16 Jun 2022 20:25:11 +0200 Subject: [PATCH] install security packages --- main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 5be704d..d068f96 100644 --- a/main.js +++ b/main.js @@ -32,6 +32,7 @@ async function main() { const sourceRelativeDirectory = core.getInput("source_directory") || "./" const artifactsRelativeDirectory = core.getInput("artifacts_directory") || "./" const osDistribution = core.getInput("os_distribution") || "" + const extraPackages = core.getInput("extra_packages").split(' ') || [] const workspaceDirectory = process.cwd() const sourceDirectory = path.join(workspaceDirectory, sourceRelativeDirectory) @@ -61,6 +62,7 @@ async function main() { arch: cpuArchitecture, image: image, container: container, + extraPackages: extraPackages, workspaceDirectory: workspaceDirectory, sourceDirectory: sourceDirectory, buildDirectory: buildDirectory, @@ -126,7 +128,7 @@ async function main() { await exec.exec("docker", [ "exec", container, - "apt-get", "install", "-yq", "-t", imageTag, "dpkg-dev", "debhelper", "devscripts" + "apt-get", "install", "-yq", "dpkg-dev", "debhelper", "devscripts" ]) core.endGroup() @@ -135,7 +137,7 @@ async function main() { await exec.exec("docker", [ "exec", container, - "apt-get", "build-dep", "-yq", "-t", imageTag, sourceDirectory + "apt-get", "build-dep", "-yq", sourceDirectory ]) core.endGroup() }