Skip to content

GitHub release workflow currently broken #189

@croesnick

Description

@croesnick

The Release workflow is currently failing with:

Error: error creating GitHub release cert-exporter-3.10.0: POST https://api.github.com/repos/joe-elliott/cert-exporter/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]

The failing step is: Run chart-releaser. Problem seems to be that the chart releaser packages chart version 3.10.0 which already exists. My guess without having had too much of a look into this external action: it read the chart version from the Chart.yaml and uses this one for packaging and uploading. If that's true, the fix would be to bump the chart's version [1], e.g. to 3.11.0.

[1]

version: 3.10.0
appVersion: v2.14.0

Update: A new app version also needs to be released (v2.15.0 in this case). Tested the version bump, updated release workflow, and the final container running in our k8s cluster, and is currently works without any issues. Changes I made are in [2].

[2] https://github.com/joe-elliott/cert-exporter/compare/master...croesnick:cert-exporter:v2.15.0?expand=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions