mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-04-19 22:26:18 +02:00
Resolve Review comments
This commit is contained in:
parent
f2622a46a5
commit
260181aca3
5 changed files with 7 additions and 7 deletions
|
@ -1,2 +0,0 @@
|
|||
out/
|
||||
dist/
|
|
@ -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
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
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue