update chart and try to publish a sbom

This commit is contained in:
Tobias Trabelsi 2022-12-18 16:31:52 +01:00
parent fdd3808c7e
commit 3328016da4
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 17 additions and 4 deletions

View File

@ -32,3 +32,14 @@ jobs:
charts_dir: charts charts_dir: charts
env: env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Get app version from chart
uses: mikefarah/yq@v4.30.6
id: app_version
with:
cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml
- name: Publish SBOM
uses: anchore/sbom-action@v0
with:
image: lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }}

View File

@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator
type: application type: application
version: "v0.4.1" version: "v0.4.2"
appVersion: "0.4.0" appVersion: "0.4.1"
keywords: keywords:
- operator - operator
@ -95,7 +95,9 @@ annotations:
artifacthub.io/operator: "true" artifacthub.io/operator: "true"
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: fixed
description: "Fixed documentation and examples" description: "Updated Dependencies to fix CVEs"
- kind: added
description: "Upload SBOM to GitHub Release"
artifacthub.io/images: | artifacthub.io/images: |
- name: bitwarden-crd-operator - name: bitwarden-crd-operator
image: lerentis/bitwarden-crd-operator:0.4.0 image: lerentis/bitwarden-crd-operator:0.4.1