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:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
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:
|
push_manifests:
|
||||||
description: Push manifest files to OCI repository
|
description: Push manifest files to OCI repository
|
||||||
default: true
|
default: true
|
||||||
@@ -91,12 +88,6 @@ jobs:
|
|||||||
IMAGES=$(echo ${METADATA} | jq 'map_values((."image.name" | select(. != null) | split(",|:";""))[0] + "@" + ."containerimage.digest")')
|
IMAGES=$(echo ${METADATA} | jq 'map_values((."image.name" | select(. != null) | split(",|:";""))[0] + "@" + ."containerimage.digest")')
|
||||||
echo images=${IMAGES} >> $GITHUB_OUTPUT
|
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
|
- name: Kustomize manifests
|
||||||
if: inputs.push_manifests == true
|
if: inputs.push_manifests == true
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user