Last active
August 11, 2023 08:36
-
-
Save sedflix/c5734b178687cf5d72ed849d5e41db8f to your computer and use it in GitHub Desktop.
Helm Chart Publish using Cloud Build
This file contains 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
steps: | |
- name: 'eu.gcr.io/king-container-registry-shared/custom-cloud-builders/helm:latest' | |
dir: <where-the-chart-is> | |
id: package-push | |
script: > | |
helm dependency build ; | |
NAME=`helm package . | awk -F "/" '{print $NF}' -`; | |
helm push $NAME oci://eu.gcr.io/<artifcat-registry-name>/<reposity-name>/ | |
options: | |
workerPool: <worker-pool-user> |
This file contains 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
steps: | |
- name: 'eu.gcr.io/king-container-registry-shared/custom-cloud-builders/helm:latest' | |
dir: cert-manager-check | |
id: package-push | |
script: > | |
helm dependency build ; | |
NAME=`helm package . | awk -F "/" '{print $NF}' -`; | |
helm push $NAME oci://eu.gcr.io/king-container-registry-shared/helm/ | |
options: | |
substitutionOption: ALLOW_LOOSE | |
workerPool: projects/438101560356/locations/europe-west1/workerPools/default-worker-pool | |
substitutions: | |
_APP: cert-manager-check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment