Skip to content

sign container images after built #1443

@developer-guy

Description

@developer-guy

Description

We (w/@Dentrax) thought that it'd be nice if pack CLI has the support of signing container images right after building them without requiring any additional steps to sign container images based on cosign, a tool developed by the sigstore community that lets you sign, and verify container images according to several types of key management types, or any other signing tool.

Proposed solution

Maybe we can add additional flag to the build command in pack CLI to enable signing, it'll be look like this:

# Set default signer to the config
$ paketo config default-signer cosign
# it'll sign container image right after built
$ pack build --signer cosign <img>

Describe alternatives you've considered

Additional context

  • This feature should be documented somewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedNeed some extra hands to get this done.status/readyIssue ready to be worked on.type/enhancementIssue that requests a new feature or improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions