update chart and try to publish a sbom

This commit is contained in:
2022-12-18 16:31:52 +01:00
parent fdd3808c7e
commit 3328016da4
2 changed files with 17 additions and 4 deletions

View File

@ -32,3 +32,14 @@ jobs:
charts_dir: charts
env:
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 }}