Revert "Revert "Update daily.yaml""

This reverts commit 7cb1f60a18.
This commit is contained in:
Kjeld Schouten-Lebbing 2023-02-03 14:04:57 +01:00
parent 7cb1f60a18
commit e707bf17c4
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ jobs:
echo "Attempting to update sources of ${chartname}..." echo "Attempting to update sources of ${chartname}..."
echo "Using go-yq verion: <$(go-yq -V)>" echo "Using go-yq verion: <$(go-yq -V)>"
# Get all sources (except truecharts) # Get all sources (except truecharts)
curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*" and . != "https://ghcr*" and . != "https://hub.docker*" and . != "https://quay*" and . != "https://github.com/truecharts/containers*" and . == "https://")' "${chart}/Chart.yaml") curr_sources=$(go-yq '.sources[] | select(. != "https://github.com/truecharts*" and . != "https://ghcr*" and . != "https://hub.docker*" and . != "https://quay*" and . != "https://github.com/truecharts/containers*" and . == "https://*")' "${chart}/Chart.yaml")
# Empty sources list in-place # Empty sources list in-place
go-yq -i 'del(.sources.[])' "${chart}/Chart.yaml" go-yq -i 'del(.sources.[])' "${chart}/Chart.yaml"
# Add truechart source # Add truechart source