Fix OCI input detection

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2020-11-30 14:45:01 -05:00
parent 79eee840ca
commit 27067e030d
4 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ export async function run(): Promise<void> {
let dockerFiles = getInputList('dockerfiles');
const newImage = `${core.getInput('image', { required: true })}:${core.getInput('tag', { required: true })}`;
const useOCI = core.getInput("useOCI") === "true";
const useOCI = core.getInput("oci") == "true";
if (dockerFiles.length !== 0) {
await doBuildUsingDockerFiles(cli, newImage, workspace, dockerFiles, useOCI);