Skip to content

Commit

Permalink
Fix buildah command to remove image
Browse files Browse the repository at this point in the history
  • Loading branch information
der-eismann committed Mar 27, 2024
1 parent 7ffe2ca commit 4d7494c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/buildah.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class BuildahCli implements Buildah {

async imageRm(manifest: string): Promise<void> {
const execOptions: exec.ExecOptions = { ignoreReturnCode: true };
const args: string[] = [ "image", "rm" ];
const args: string[] = [ "rmi" ];
args.push(manifest);
core.info(`Removing existing image ${manifest}`);
await this.execute(args, execOptions);
Expand Down

0 comments on commit 4d7494c

Please sign in to comment.