diff --git a/charts/mok/.gitlab-ci.yaml b/charts/mok/.gitlab-ci.yaml index 7251f20ad873f557886b6ea9c6bbdeca25d33c59..83f006cdf44ecec0b97ff44e5569777d619b45fa 100644 --- a/charts/mok/.gitlab-ci.yaml +++ b/charts/mok/.gitlab-ci.yaml @@ -3,7 +3,7 @@ build: image: quay.io/helmpack/chart-testing:v3.6.0 script: - export TMP_DIR=$(mktemp -d) - - helm package charts/* -d "$TMP_DIR" + - helm package charts/mok -d "$TMP_DIR" - for i in $(ls $TMP_DIR/*.tgz); do curl --request POST --user "gitlab-ci-token:$CI_JOB_TOKEN" --form "chart=@${i}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/${CI_COMMIT_REF_SLUG}/charts"; done rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'