Skip to content

Add option of saving docker image to the artifact storage optional #145

@nils1k

Description

@nils1k

Is your feature request related to a problem? Please describe.
We build our application using a multi-stage Docker build and have a single workflow where we build the docker image and then scan it using gha-docker. However, this approach takes up an unnecessary amount of space in the Github Actions artifact storage as we run our workflow on both push and pull request when publishing the image to the storage and scanning it for vulnerabilities is really only necessary for pull request and main builds.

Describe the solution you'd like
I want to be able to choose whether or not to publish the docker image to the Github Actions artifact storage through an input parameter.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions