mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 01:49:03 +00:00
sanitify output buildah from cmd
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
parent
20c4f351ec
commit
b5c3b226ac
5 changed files with 13 additions and 4 deletions
|
@ -28,7 +28,7 @@ export async function run(): Promise<void> {
|
|||
if (creationResult.succeeded === false) {
|
||||
return Promise.reject(new Error(creationResult.reason));
|
||||
}
|
||||
const containerId = creationResult.output;
|
||||
const containerId = creationResult.output.replace('\n', '');
|
||||
|
||||
const copyResult = await cli.copy(containerId, content);
|
||||
if (copyResult.succeeded === false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue