Skip to content

Commit c39e805

Browse files
committed
core.debug
1 parent c2461c2 commit c39e805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImageDetector.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class ImageDetector {
1111
async getExistingImages(): Promise<string[]> {
1212
const ids = (await exec.exec(`docker image ls -q`, [], { silent: true })).stdoutStr.split(`\n`).filter(id => id !== ``)
1313
const repotags = (await exec.exec(`sh -c "docker image ls --format '{{ .Repository }}:{{ .Tag }}' --filter 'dangling=false'"`, [], { silent: true })).stdoutStr.split(`\n`).filter(id => id !== ``);
14+
core.debug(JSON.stringify({ log: "getExistingImages", ids, repotags }));
1415
([...ids, ...repotags]).forEach(image => this.existingImages.add(image))
1516
core.debug(JSON.stringify({ existingImages: this.existingImages }))
1617
return Array.from(this.existingImages)

0 commit comments

Comments
 (0)