Skip to content

feat(workflows): Create reusable workflow for GitHub Releases #28

feat(workflows): Create reusable workflow for GitHub Releases

feat(workflows): Create reusable workflow for GitHub Releases #28

Workflow file for this run

name: Release
on:
pull_request:
permissions:
contents: read
jobs:
# This reusable workflow inspects if the given workflow_name exists on Chainloop. If the Workflow does not exist
# it will create one with an empty contract ready for operators to be filled. Otherwise, if found, it will just
# be ignored and the process will continue. For this to work it's using a pre-created API Token
github_release:
name: GitHub Release
uses: ./.github/workflows/chainloop_github_release.yml
with:
project: "chainloop"
workflow_name: "javi-github-release"
additional_materials: "ghcr.io/chainloop-dev/chainloop/control-plane:v0.80.0,ghcr.io/chainloop-dev/chainloop/artifact-cas:v0.80.0"
secrets:
api_token: ${{ secrets.CHAINLOOP_API_TOKEN }}