Skip to content

Ensure that the chart versions that are already released to OCI, are not getting overwritten #107

Description

@allanger

We've added a job to push OCI artifacts to the ghcr. But these pushes are happening on every run in the main branch. It means that if a change without a version bump was pushed to the main branch, the old artifact will be overwritten.

Even though we have some checks that should not let it happen, I would like to add some logic to the "push" step, that would only push the versions, that are not in the ghcr yet.

AC:

  • OCI artifacts are only pushed, when a version bump is happening

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions