mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01:00
clean
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
parent
19ea479591
commit
e5afab8b69
3 changed files with 3 additions and 3 deletions
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
|
@ -20,7 +20,7 @@ export async function run(): Promise<void> {
|
|||
}
|
||||
const parsedCheckImages = JSON.parse(checkImages.output);
|
||||
const imagesFound = parsedCheckImages.
|
||||
filter(image => image.names && image.names.find(name => name.includes("alpine:latewst"))).
|
||||
filter(image => image.names && image.names.find(name => name.includes(`${imageToPush}:${tag}`))).
|
||||
map(image => image.names);
|
||||
if (imagesFound.length === 0) {
|
||||
//check inside the docker daemon local storage
|
||||
|
|
Loading…
Add table
Reference in a new issue