Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ jobs:
for part in $(echo "${{ inputs.app-name }}" | tr '.' '\n'); do
app_path="${app_path}[\"$part\"]"
done

if [ "$(yq "$app_path != null" "$cluster/values-platforms.yaml")" != "true" ]; then
echo "Skipping platform $platform: application ${{ inputs.app-name }} is not configured"
continue
fi

yq -i "$app_path.image.tag = \"${IMAGE_TAG}\"" \
"$cluster/values-platforms.yaml"
done
Expand Down
Loading