Skip to content

Commit

Permalink
Compare image digests instead of tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rugwirobaker committed Oct 10, 2022
1 parent 31725ea commit 009bfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/image/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func updateImageForMachines(ctx context.Context, app *api.AppCompact) (err error
}

// Exclude machines that are already running the latest version
if machine.ImageRef.Tag == latest.Tag && machine.ImageVersion() == latest.Version {
if machine.ImageRef.Digest == latest.Digest {
continue
}

Expand Down

0 comments on commit 009bfc0

Please sign in to comment.