Fix resources isues 26

This commit is contained in:
2026-01-22 21:20:44 +01:00
parent 9328d65a73
commit 321afbc5d6
2 changed files with 5 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ spec:
# Stage 4: Build and push container images
- name: build-and-push
runAfter: [run-tests]
runAfter: [detect-changes]
taskRef:
name: kaniko-build
when:

View File

@@ -66,9 +66,12 @@ spec:
echo "Services param: $(params.services)"
echo "==================================================================="
SERVICES_PARAM="$(params.services)"
# Trim whitespace and newlines from services param
SERVICES_PARAM=$(echo "$(params.services)" | tr -d '\n' | tr -d ' ')
WORKSPACE="$(workspaces.source.path)"
echo "Trimmed services param: '$SERVICES_PARAM'"
# Handle "all" case by discovering services from workspace
if [ "$SERVICES_PARAM" = "all" ]; then
echo "Building all services - discovering from workspace..."