Push to zot
This commit is contained in:
parent
f6320fb990
commit
f344141099
@ -57,22 +57,24 @@ steps:
|
|||||||
when:
|
when:
|
||||||
- branch: main
|
- branch: main
|
||||||
secrets:
|
secrets:
|
||||||
- gitea_token
|
- registry_password
|
||||||
environment:
|
environment:
|
||||||
- DISABLE_FORCE_OVERWRITE='true'
|
- DISABLE_FORCE_OVERWRITE='true'
|
||||||
- ALLOW_OVERWRITE='false'
|
- ALLOW_OVERWRITE='false'
|
||||||
|
- REGISTRY_URL="registry.badhouseplants.net"
|
||||||
|
- REGISTRY_USERNAME="woody"
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
helm registry login git.badhouseplants.net \
|
helm registry login $REGISTRY_URL \
|
||||||
--username allanger \
|
--username $REGISTRY_USERNAME \
|
||||||
--password $GITEA_TOKEN
|
--password $REGISTRY_PASSWORD
|
||||||
- |
|
- |
|
||||||
for chart in $(find charts -maxdepth 1 -mindepth 1 -type d); do
|
for chart in $(find charts -maxdepth 1 -mindepth 1 -type d); do
|
||||||
helm package $chart -d chart-packages;
|
helm package $chart -d chart-packages;
|
||||||
done
|
done
|
||||||
- |
|
- |
|
||||||
for chart in $(find chart-packages -maxdepth 1 -mindepth 1 -type f); do
|
for chart in $(find chart-packages -maxdepth 1 -mindepth 1 -type f); do
|
||||||
helm push $chart oci://git.badhouseplants.net/softplayer/helm
|
helm push $chart oci://registry.badhouseplants.net/softplayer/helm
|
||||||
done
|
done
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
Loading…
Reference in New Issue
Block a user