Skip to content

Add an option to ignore/suppress the "the target image is already optimized" error.  #185

Description

@OmegaM

Hi, I tried to use Slim in our pipelines, and it's like a miracle! However, there is a small problem. When we optimize several images in a single pipeline, and some of them can't be optimized (for example, due to Docker issues), we restart the pipeline. It fails again with the message: the target image is already optimized.

cmd=slim state=exited code=33554436

This is not an error, but the pipeline fails and restarts again. It would be perfect to add a flag or maybe treat exit code 33554436 (currently, real exit code - 4 ) as a non-failure case to separate real problems from "already optimized" scenarios.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions