mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 01:49:03 +00:00
add tag input
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
parent
deaddbe502
commit
d26694b47f
5 changed files with 13 additions and 3 deletions
|
@ -18,7 +18,7 @@ export async function run(): Promise<void> {
|
|||
|
||||
const workspace = process.env['GITHUB_WORKSPACE'];
|
||||
let dockerFiles = getInputList('dockerfiles');
|
||||
const newImage = core.getInput('image');
|
||||
const newImage = `${core.getInput('image')}:${core.getInput('tag')}`;
|
||||
|
||||
if (dockerFiles.length !== 0) {
|
||||
doBuildUsingDockerFiles(cli, newImage, workspace, dockerFiles);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue