Compare commits
7 Commits
v0.5.4
...
0f518ab28d
Author | SHA1 | Date | |
---|---|---|---|
0f518ab28d
|
|||
1bf2a24cf2
|
|||
a73e8ff982
|
|||
54a4ffa212 | |||
16040bf87a
|
|||
9c1c7417e1 | |||
219c9d0413 |
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@ -8,7 +8,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
permissions:
|
permissions:
|
||||||
|
id-token: write
|
||||||
contents: write
|
contents: write
|
||||||
|
packages: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -34,15 +36,36 @@ jobs:
|
|||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Get app version from chart
|
- name: Get app version from chart
|
||||||
uses: mikefarah/yq@v4.33.1
|
uses: mikefarah/yq@v4.33.3
|
||||||
id: app_version
|
id: app_version
|
||||||
with:
|
with:
|
||||||
cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml
|
cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml
|
||||||
|
|
||||||
|
- name: "GHCR Login"
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: lerentis
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
- name: "GHCR Build and Push"
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: ghcr.io/lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }}
|
||||||
|
|
||||||
- name: Create SBOM
|
- name: Create SBOM
|
||||||
uses: anchore/sbom-action@v0
|
uses: anchore/sbom-action@v0
|
||||||
with:
|
with:
|
||||||
image: lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }}
|
image: ghcr.io/lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }}
|
||||||
|
|
||||||
- name: Publish SBOM
|
- name: Publish SBOM
|
||||||
uses: anchore/sbom-action/publish-sbom@v0
|
uses: anchore/sbom-action/publish-sbom@v0
|
||||||
|
@ -9,6 +9,10 @@ RUN cd /tmp && wget https://github.com/bitwarden/clients/releases/download/cli-v
|
|||||||
|
|
||||||
FROM alpine:3.17.3
|
FROM alpine:3.17.3
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.source=https://github.com/Lerentis/bitwarden-crd-operator
|
||||||
|
LABEL org.opencontainers.image.description="Kubernetes Operator to create k8s secrets from bitwarden"
|
||||||
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
ARG PYTHON_VERSION=3.10.11-r0
|
ARG PYTHON_VERSION=3.10.11-r0
|
||||||
ARG PIP_VERSION=22.3.1-r1
|
ARG PIP_VERSION=22.3.1-r1
|
||||||
ARG GCOMPAT_VERSION=1.1.0-r0
|
ARG GCOMPAT_VERSION=1.1.0-r0
|
||||||
|
@ -4,7 +4,7 @@ description: Deploy the Bitwarden CRD Operator
|
|||||||
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
version: "v0.5.4"
|
version: "v0.6.0"
|
||||||
|
|
||||||
appVersion: "0.5.4"
|
appVersion: "0.5.4"
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ annotations:
|
|||||||
artifacthub.io/operator: "true"
|
artifacthub.io/operator: "true"
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: "Bump Alpine base image from 3.17.2 to 3.17.3"
|
description: "Default image registry to ghcr.io and no longer docker hub. docker hub images will continue to be published"
|
||||||
artifacthub.io/images: |
|
artifacthub.io/images: |
|
||||||
- name: bitwarden-crd-operator
|
- name: bitwarden-crd-operator
|
||||||
image: lerentis/bitwarden-crd-operator:0.5.4
|
image: ghcr.io/lerentis/bitwarden-crd-operator:0.5.4
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: lerentis/bitwarden-crd-operator
|
repository: ghcr.io/lerentis/bitwarden-crd-operator
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
# tag: "0.1.0"
|
# tag: "0.1.0"
|
||||||
|
Reference in New Issue
Block a user