mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
oras fix:
newer version of oras: https://github.com/oras-project/oras/releases/tag/v0.14.0 rename the --manifest-config to --config for push command Signed-off-by: Roxana Nemulescu <roxana.nemulescu@gmail.com>
This commit is contained in:
committed by
Andrei Aaron
parent
5dda12b6a7
commit
3bccea7aa2
@@ -290,7 +290,7 @@ func TestORAS(t *testing.T) {
|
||||
|
||||
srcURL := strings.Join([]string{sctlr.Server.Addr, "/oras-artifact:v2"}, "")
|
||||
|
||||
cmd = exec.Command("oras", "push", "--plain-http", srcURL, "--manifest-config",
|
||||
cmd = exec.Command("oras", "push", "--plain-http", srcURL, "--config",
|
||||
"config.json:application/vnd.acme.rocket.config.v1+json", "artifact.txt:text/plain", "-d", "-v")
|
||||
cmd.Dir = fileDir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user