Compare commits
5 Commits
fdd3808c7e
...
8546855412
Author | SHA1 | Date | |
---|---|---|---|
8546855412 | |||
938ddd1bb6 | |||
5adc7785d0 | |||
df1fdcbb14 | |||
3328016da4 |
34
.github/workflows/release.yml
vendored
34
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user