Compare commits

..

5 Commits

Author SHA1 Message Date
8546855412
updated bitwarden CLI version
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-24 17:42:07 +01:00
938ddd1bb6
download from action run before uploading to release 2022-12-18 18:08:52 +01:00
5adc7785d0
okay then manually 2022-12-18 17:05:36 +01:00
df1fdcbb14
attach sbom to GH release next time 2022-12-18 16:37:22 +01:00
3328016da4
update chart and try to publish a sbom 2022-12-18 16:31:52 +01:00
3 changed files with 41 additions and 5 deletions

View File

@ -32,3 +32,37 @@ 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: Create SBOM
uses: anchore/sbom-action@v0
with:
image: lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }}
- name: Publish SBOM
uses: anchore/sbom-action/publish-sbom@v0
with:
sbom-artifact-match: ".*\\.spdx\\.json"
- name: Get Latest Tag
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1
- name: Download SBOM from github action
uses: actions/download-artifact@v3
with:
name: ${{ env.ANCHORE_SBOM_ACTION_PRIOR_ARTIFACT }}
- name: Add SBOM to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: lerentis-bitwarden-crd-operator_*.spdx.json
tag: ${{ steps.previoustag.outputs.tag }}
overwrite: false

View File

@ -1,6 +1,6 @@
FROM alpine:latest as builder FROM alpine:latest as builder
ARG BW_VERSION=2022.8.0 ARG BW_VERSION=2022.11.0
RUN apk add wget unzip RUN apk add wget unzip

View File

@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator
type: application type: application
version: "v0.4.1" version: "v0.4.3"
appVersion: "0.4.0" appVersion: "0.4.2"
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.2