86ef11f8e6
- Add .github/workflows/ci.yaml (calls plugin-ci from .github repo) - Add .github/workflows/release.yaml (calls plugin-release from .github repo) - Add artifacthub-pkg.yml for ArtifactHub distribution - Add package.json with headlamp-plugin scripts - Add README.md Co-Authored-By: Paperclip <noreply@paperclip.ing>
25 lines
583 B
YAML
25 lines
583 B
YAML
name: Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: 'Release version (e.g. 1.0.0)'
|
|
required: true
|
|
type: string
|
|
repository_dispatch:
|
|
types: [release]
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
release:
|
|
uses: privilegedescalation/.github/.github/workflows/plugin-release.yaml@main
|
|
secrets:
|
|
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
|
|
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
|
with:
|
|
version: ${{ inputs.version || github.event.client_payload.version }}
|