Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ async function isPodmanLocalImageLatest(): Promise<boolean> {
return podmanImageTime > dockerImageTime;
}

async function createDockerPodmanImageStroage(): Promise<void> {
async function createDockerPodmanImageStorage(): Promise<void> {
core.info(`Creating temporary Podman image storage for pulling from Docker daemon`);
dockerPodmanRoot = await fs.promises.mkdtemp(path.join(os.tmpdir(), "podman-from-docker-"));

Expand All @@ -409,7 +409,7 @@ async function createDockerPodmanImageStroage(): Promise<void> {
}
}

async function removeDockerPodmanImageStroage(): Promise<void> {
async function removeDockerPodmanImageStorage(): Promise<void> {
if (dockerPodmanRoot) {
try {
core.info(`Removing temporary Podman image storage for pulling from Docker daemon`);
Expand Down Expand Up @@ -512,11 +512,11 @@ async function execute(

async function main(): Promise<void> {
try {
await createDockerPodmanImageStroage();
await createDockerPodmanImageStorage();
await run();
}
finally {
await removeDockerPodmanImageStroage();
await removeDockerPodmanImageStorage();
}
}

Expand Down