mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 09:01:23 +00:00
Fix OCI input detection
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
79eee840ca
commit
27067e030d
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
[](https://github.com/redhat-actions/buildah-build/actions?query=workflow%3A%22Verify+Bundle%22)
|
||||
<br>
|
||||
<br>
|
||||
[](https://github.com/redhat-actions/buildah-build/tags)
|
||||
[](https://github.com/redhat-actions/buildah-build/tags)
|
||||
[](./LICENSE)
|
||||
[](./dist)
|
||||
|
||||
|
|
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue