diff --git a/hack/tools.just b/hack/tools.just index 8054d0be0..ae7719879 100644 --- a/hack/tools.just +++ b/hack/tools.just @@ -136,8 +136,8 @@ test path="./...": gen _envtest _gcov2lcov # oci := "" -skopeo_dest_insecure := if oci == "http" { "--dest-tls-verify=false" } else { "" } -oras_insecure := if oci == "http" { "--plain-http" } else { "" } +skopeo_dest_insecure := if oci == "http" { "" } else { "--dest-tls-verify=false" } +oras_insecure := if oci == "http" { "--plain-http" } else { "--insecure" } _docker-build bin: build cp bin/{{bin}} config/docker/{{bin}}/ @@ -153,7 +153,7 @@ _helm-build name: _helm {{helm}} lint config/helm/{{name}}-{{version}}.tgz _helm-push name: _helm - {{helm}} push config/helm/{{name}}-{{version}}.tgz oci://{{oci_repo}}/{{oci_prefix}}/charts + {{helm}} push --insecure-skip-tls-verify config/helm/{{name}}-{{version}}.tgz oci://{{oci_repo}}/{{oci_prefix}}/charts _kube-build name: (_docker-build name) (_helm-build name)