Created
April 19, 2021 19:54
-
-
Save mmontes11/b906d71e086cd377e5f39aab0b4a95cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| echo "☸️ Updating repos..." | |
| helm repo add gotway https://charts.gotway.duckdns.org | |
| helm repo add mmontes https://charts.mmontes-dev.duckdns.org | |
| helm repo add chartmuseum https://chartmuseum.github.io/charts | |
| helm repo update | |
| echo "☸️ Updating deps..." | |
| for ch in $(ls -d charts/*); do | |
| helm dep update $ch | |
| done | |
| helm plugin install https://github.com/chartmuseum/helm-push.git | |
| for path in $(ls -d charts/*); do | |
| name=$(basename "$path") | |
| echo "📦 Releasing '${name}'..." | |
| helm push "$path" gotway | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment