diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2bbe0b..ee01b9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/charts/bitwarden-crd-operator/Chart.yaml b/charts/bitwarden-crd-operator/Chart.yaml index 2cb7ef3..da445e6 100644 --- a/charts/bitwarden-crd-operator/Chart.yaml +++ b/charts/bitwarden-crd-operator/Chart.yaml @@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator type: application -version: "v0.4.1" +version: "v0.4.2" -appVersion: "0.4.0" +appVersion: "0.4.1" keywords: - operator @@ -95,7 +95,9 @@ annotations: artifacthub.io/operator: "true" artifacthub.io/changes: | - kind: fixed - description: "Fixed documentation and examples" + description: "Updated Dependencies to fix CVEs" + - kind: added + description: "Upload SBOM to GitHub Release" artifacthub.io/images: | - name: bitwarden-crd-operator - image: lerentis/bitwarden-crd-operator:0.4.0 + image: lerentis/bitwarden-crd-operator:0.4.1