Skip to content

ggcr: Manifest subject is removed by adding layers #1972

Closed as not planned
Closed as not planned

Description

Describe the bug

When using the mutate package, if a v1.Layer is added to an image after a subject is added, the subject never ends up in the resulting image manifest. The other way around works just fine.

To Reproduce

Failing test is here:

kipz@e4a1dd0

Expected behavior

The subject should not be removed from the image manifest when layers are added.

Additional context

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

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