Commit 63f482fd authored by Bertrand Goareguer's avatar Bertrand Goareguer Committed by Pierre Smeyers
Browse files

fix(publish): force publish chart built upstream

parent 216b55d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -621,7 +621,7 @@ stages:
  }

  function helm_publish() {
    _pkg=${1:$helm_package_file}
    _pkg=${1}
    if [[ -z "$_pkg" ]]; then
      log_error "No package found to deploy"
      exit 1
@@ -883,7 +883,7 @@ helm-publish:
  extends: .helm-base
  stage: publish
  script:
    - helm_publish
    - helm_publish $helm_package_file
  rules:
    - if: '$HELM_PUBLISH_URL == null || $HELM_PUBLISH_URL == "" || $HELM_PUBLISH_METHOD == "disabled"'
      when: never