From 527ba39df1c2a00b40915daeb1add52a3863ce33 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Wed, 1 Feb 2023 18:18:54 +0100 Subject: [PATCH] Update daily.yaml Signed-off-by: Kjeld Schouten-Lebbing --- .github/workflows/daily.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 76a50b97d23..b166ffbcb3f 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -87,9 +87,9 @@ jobs: echo "Attempting to update sources of ${chartname}..." echo "Using go-yq verion: <$(go-yq -V)>" # Get all sources (except truecharts) - curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*")' "${chart}/Chart.yaml") + curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*" | select(. != "https://hub.docker*" | select(. != "https://ghcr*" | select(. != "https://quay*" | select(. != "https://github.com/truecharts/containers*")' "${chart}/Chart.yaml") # Empty sources list in-place - go-yq -i 'del(.sources.[])' "${chart}/Chart.yaml" + go-yq -i 'del(.sources.[])' "${chart}/Chart.yaml # Add truechart source tcsource="https://github.com/truecharts/charts/tree/master/charts/$train/$chartname" go-yq -i '.sources += env(tcsource)' "${chart}/Chart.yaml" container=$(cat website/docs/charts/description_list.md | grep "\[${chartname}\]" | cut -f3 -d '|' | grep -v 'Not Found' || echo "")