Resolve Review comments

This commit is contained in:
divyansh42 2021-01-19 01:59:04 +05:30
parent f2622a46a5
commit 260181aca3
5 changed files with 7 additions and 7 deletions

View file

@ -1,2 +0,0 @@
out/
dist/

View file

@ -128,7 +128,7 @@ If the image to push is present in the Docker image storage but not in the Podma
If the image to push is present in both the Docker and Podman image storage, the action will push the image which was more recently built, and log a warning.
If an image was pulled from the Docker image storage into the Podman storage, it will be cleaned up from the Podman storage before the action exits.
If the action pulled an image from the Docker image storage into the Podman storage, it will be cleaned up from the Podman storage before the action exits.
## Troubleshooting
Note that quay.io repositories are private by default.<br>

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -193,9 +193,11 @@ async function isPodmanLocalImageLatest(
// remove the pulled image from the Podman image storage
async function removeDockerImage(): Promise<void> {
if (!imageToPush) {
core.info(`Removing ${imageToPush} from the Podman image storage`);
await execute(await getPodmanPath(), [ "rmi", imageToPush ]);
}
}
async function execute(
executable: string,