kcl-lang / cli

The KCL Command Line Interface (CLI).
https://kcl-lang.io
Apache License 2.0
19 stars 14 forks source link

Can not push package to ghcr.io since v0.9.2 #112

Closed liangyuanpeng closed 3 months ago

liangyuanpeng commented 3 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

$ kcl mod push oci://ghcr.io/liangyuanpeng/kcl/kind
package 'kind' will be pushed
failed to push 'ghcr.io/liangyuanpeng/kcl/kind'
GET "https://ghcr.io/v2/liangyuanpeng/kcl/kind/blobs/uploads/": response status code 405: unsupported: The operation is unsupported.

Once i use v0.9.1 and it's working for me.

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your KCL components version? (Required)

liangyuanpeng commented 3 months ago

Maybe this is a kpm issue? I haven't researched it in depth yet.

Peefy commented 3 months ago

cc @zong-zhe

Peefy commented 3 months ago

Maybe this commit leads to this issue: https://github.com/kcl-lang/kpm/commit/a5a2a5fdc77d5d32da937d3566202ef2cf9d0eb0 cc @zong-zhe We need to add some e2e tests for ghir.io pushing

Peefy commented 3 months ago

Closed by https://github.com/kcl-lang/kpm/pull/393