Update daily.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing
2023-02-01 18:25:54 +01:00
committed by GitHub
parent 527ba39df1
commit 32ad91d075

View File

@@ -87,7 +87,7 @@ 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*" | select(. != "https://hub.docker*" | select(. != "https://ghcr*" | select(. != "https://quay*" | select(. != "https://github.com/truecharts/containers*")' "${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
# Add truechart source