Skip to content

Commit 03eee4c

Browse files
authored
Improve ImageExists check (#36)
1 parent 6102490 commit 03eee4c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/docker/docker.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ func (c Client) ImageExistsAtRemote(ctx context.Context, image string) (bool, er
188188
if strings.EqualFold("MANIFEST_UNKNOWN", string(diagnostic.Code)) {
189189
return false, nil
190190
}
191+
if strings.EqualFold("NOT_FOUND", string(diagnostic.Code)) {
192+
return false, nil
193+
}
191194
}
192195
}
193196

0 commit comments

Comments
 (0)