add the word 'local' to the image check messages (#46)

Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
Tim Etchells 2021-09-13 09:46:32 -07:00 committed by GitHub
parent 85f9459926
commit cedd174f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

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

@ -242,7 +242,7 @@ async function run(): Promise<void> {
async function pullImageFromDocker(): Promise<ImageStorageCheckResult> {
core.info(`🔍 Checking if "${imageToPush}" with tag${tagsList.length !== 1 ? "s" : ""} `
+ `"${tagsList.join(", ")}" is present in Docker image storage`);
+ `"${tagsList.join(", ")}" is present in the local Docker image storage`);
let imageWithTag;
const foundTags: string[] = [];
const missingTags: string[] = [];
@ -275,7 +275,7 @@ async function pullImageFromDocker(): Promise<ImageStorageCheckResult> {
async function checkImageInPodman(): Promise<ImageStorageCheckResult> {
// check if images exist in Podman's storage
core.info(`🔍 Checking if "${imageToPush}" with tag${tagsList.length !== 1 ? "s" : ""} `
+ `"${tagsList.join(", ")}" is present in Podman image storage`);
+ `"${tagsList.join(", ")}" is present in the local Podman image storage`);
let imageWithTag;
const foundTags: string[] = [];
const missingTags: string[] = [];