shipwright-io / build

Shipwright - a framework for building container images on Kubernetes
https://shipwright.io
Apache License 2.0
654 stars 111 forks source link

SHIP-0038: Add Git Ref to Release Workflow #1557

Closed adambkaplan closed 6 months ago

adambkaplan commented 6 months ago

Changes

Update the release workflow to accept a git reference as a parameter. This will be used to check out the appropriate release branch when generating artifacts and release notes.

The action was also updated to use the (new?) inputs context, instead of relying on the inputs key existing in the github.events payload.

Part of #1555

Submitter Checklist

See the contributor guide for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

NONE
adambkaplan commented 6 months ago

~Note - we should cherry-pick this back to the release-v0.12 branch.~ scratch that - workflow_dispatch actions don't need to be backported.

openshift-ci[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/shipwright-io/build/blob/main/OWNERS)~~ [SaschaSchwarze0] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment