Skip to content

Commit 25cfda4

Browse files
fix(main): prevent 'Pushing image' on existing image
1 parent bb4af68 commit 25cfda4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func main() {
224224
runImage(imageReference)
225225
fmt.Printf("\n\ndone\n")
226226

227-
if !localImageIsPresent2 {
227+
if !localImageIsPresent && !localImageIsPresent2 {
228228
fmt.Printf("<-> Pushing image...")
229229
pushImage(imageReference)
230230
fmt.Printf("done\n")

0 commit comments

Comments
 (0)