Update daily.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing 2023-02-03 14:44:34 +01:00 committed by GitHub
parent 848e5175c3
commit 7896e56df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@ jobs:
prefix="https://quay.com/"
elif echo ${container} | grep 'tccr'; then
prefix="https://github.com/truecharts/containers/tree/master/mirror/"
elif echo ${container} | grep 'lscr'; then
prefix="https://lscr.io/"
elif echo ${container} | grep 'gcr'; then
prefix="https://gcr.io/"
elif echo ${container} | grep 'azurecr'; then
prefix="https://azurecr.io/"
elif echo ${container} | grep 'ecr'; then
prefix="https://public.ecr.aws/"
elif echo ${container} | grep 'ocir'; then
prefix="https://ocir.io/"
fi
container="${prefix}${container}" go-yq -i '.sources += env(container) | .sources |= unique' "${chart}/Chart.yaml"
fi