Skip to content

v1.33.0-beta.0

v1.33.0-beta.0 #1

Workflow file for this run

name: Generate SBOM
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: write
jobs:
generate_sbom_action:
runs-on: ubuntu-latest
name: Install bom and generate SBOM
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Install bom
uses: kubernetes-sigs/release-actions/setup-bom@10fecc1c66829d291b2f2fb1a27329d152f212e6 # main
- name: Generage SBOM
run: |
bom generate -o minikube_${{github.ref_name}}_sbom.spdx \
--dirs=.\
- name: Upload SBOM
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{github.ref_name}} minikube_${{github.ref_name}}_sbom.spdx