mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
name: e-post_release
|
|
permissions: read-all
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
TAG:
|
|
description: 'Tag name'
|
|
required: true
|
|
type: string
|
|
jobs:
|
|
post_release:
|
|
name: Post release jobs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
- name: Update new version in krew-index
|
|
uses: rajatjindal/krew-release-bot@v0.0.47
|
|
if: github.repository_owner == 'kubescape'
|
|
env:
|
|
GITHUB_REF: refs/tags/${{ inputs.TAG }}
|
|
- name: Invoke workflow to update packaging
|
|
uses: benc-uk/workflow-dispatch@v1
|
|
if: github.repository_owner == 'kubescape'
|
|
with:
|
|
workflow: release.yml
|
|
repo: kubescape/packaging
|
|
ref: refs/heads/main
|
|
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|
|
- name: Invoke workflow to update homebrew tap
|
|
uses: benc-uk/workflow-dispatch@v1
|
|
if: github.repository_owner == 'kubescape'
|
|
with:
|
|
workflow: release.yml
|
|
repo: kubescape/homebrew-tap
|
|
ref: refs/heads/main
|
|
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|
|
- name: Invoke workflow to update github action
|
|
uses: benc-uk/workflow-dispatch@v1
|
|
if: github.repository_owner == 'kubescape'
|
|
with:
|
|
workflow: release.yaml
|
|
repo: kubescape/github-action
|
|
ref: refs/heads/main
|
|
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
|