Skip to content

.github/workflows/openvex.yaml #1

.github/workflows/openvex.yaml

.github/workflows/openvex.yaml #1

Workflow file for this run

on:
workflow_dispatch:
inputs:
tag:
type: string
required: true
permissions: {}
jobs:
vexctl:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Set tag name
shell: bash
run: |
TAG=${{ github.event.inputs.tag }}
echo "TAG=$TAG" >> "$GITHUB_ENV"
- name: Checkout code
uses: actions/checkout@v2
- uses: openvex/generate-vex@31b415924ea0d72ed5f2640f1dee59dea6c2770b
name: Run vexctl
with:
product: pkg:golang/sigs.k8s.io/kueue@${{ env.TAG }}
file: /tmp/kueve.vex.json
- name: Upload openvex data
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload $TAG /tmp/kueve.vex.json