feat: Removed generate crds

This is now instead done using docker bake
This commit is contained in:
2025-12-21 16:01:47 +01:00
parent 74862f84ee
commit e0de3bb4b5

View File

@@ -3,9 +3,6 @@ name: Build and deploy
on:
workflow_call:
inputs:
generate_crds:
description: Runs a binary called gencrd in the docker container and writes the output to ./manifests/crds.yaml
type: boolean
push_manifests:
description: Push manifest files to OCI repository
default: true
@@ -91,12 +88,6 @@ jobs:
IMAGES=$(echo ${METADATA} | jq 'map_values((."image.name" | select(. != null) | split(",|:";""))[0] + "@" + ."containerimage.digest")')
echo images=${IMAGES} >> $GITHUB_OUTPUT
# TODO: Move this into docker-bake.hcl
- name: Generate CRDs
if: inputs.generate_crds == true
run: |
docker run --rm ${{ env.OCI_REPO }}@${{ steps.build.outputs.imageid }} /crdgen > ./manifests/crds.yaml
- name: Kustomize manifests
if: inputs.push_manifests == true
run: |