diff --git a/.gitea/workflows/render-manifests-automerge.yaml b/.gitea/workflows/render-manifests-automerge.yaml index 36c9be2b0..d80a56b77 100644 --- a/.gitea/workflows/render-manifests-automerge.yaml +++ b/.gitea/workflows/render-manifests-automerge.yaml @@ -194,7 +194,7 @@ jobs: echo "$TEMPLATE" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"' # Strip comments again to ensure formatting correctness - for file in $OUTPUT_FOLDER; do + for file in "$OUTPUT_FOLDER"/*; do yq -i '... comments=""' $file done diff --git a/.gitea/workflows/render-manifests-dispatch.yaml b/.gitea/workflows/render-manifests-dispatch.yaml index d3369d4e4..f0b7fe6aa 100644 --- a/.gitea/workflows/render-manifests-dispatch.yaml +++ b/.gitea/workflows/render-manifests-dispatch.yaml @@ -179,7 +179,7 @@ jobs: echo "$TEMPLATE" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"' # Strip comments again to ensure formatting correctness - for file in $OUTPUT_FOLDER; do + for file in "$OUTPUT_FOLDER"/*; do yq -i '... comments=""' $file done diff --git a/.gitea/workflows/render-manifests-merge.yaml b/.gitea/workflows/render-manifests-merge.yaml index fe68fb0c2..7a897e6e8 100644 --- a/.gitea/workflows/render-manifests-merge.yaml +++ b/.gitea/workflows/render-manifests-merge.yaml @@ -199,7 +199,7 @@ jobs: echo "$TEMPLATE" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"' # Strip comments again to ensure formatting correctness - for file in $OUTPUT_FOLDER; do + for file in "$OUTPUT_FOLDER"/*; do yq -i '... comments=""' $file done diff --git a/.gitea/workflows/render-manifests-push.yaml b/.gitea/workflows/render-manifests-push.yaml index 87a0979bb..5bbce0a7d 100644 --- a/.gitea/workflows/render-manifests-push.yaml +++ b/.gitea/workflows/render-manifests-push.yaml @@ -197,7 +197,7 @@ jobs: echo "$TEMPLATE" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"' # Strip comments again to ensure formatting correctness - for file in $OUTPUT_FOLDER; do + for file in "$OUTPUT_FOLDER"/*; do yq -i '... comments=""' $file done