feat: Removed generate crds
This is now instead done using docker bake
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user