diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4c76556..5317512 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -69,12 +69,12 @@ jobs: run: | tag=${GITHUB_REF##*/v} echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin - TAGS="$tag latest" bundle exec rake docker_push + TAGS="$tag latest" rake docker_push - name: Package helm chart run: | export HELM_REPO_URL="${PACKAGES_URL}/${PACKAGES_HELM_PATH}" - bundle exec rake helm_package + rake helm_package - name: Deploy helm chart to S3 run: | diff --git a/lib/kubetruth/template.rb b/lib/kubetruth/template.rb index 6a6136c..53ab24a 100644 --- a/lib/kubetruth/template.rb +++ b/lib/kubetruth/template.rb @@ -148,7 +148,7 @@ def render(*args, **kwargs) msg = "Rendered template:\n" r = result.dup - both_secrets.each {|k, v| r = r.gsub!(v, "") } + both_secrets.each {|k, v| r.gsub!(v, "") } r.lines.collect {|l| msg << (INDENT * 2) << l } msg end