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
@@ -106,7 +106,7 @@ function teardown_file() {
|
||||
echo "{\"name\":\"foo\",\"value\":\"bar\"}" > config.json
|
||||
echo "hello world" > artifact.txt
|
||||
run oras push --plain-http 127.0.0.1:8080/hello-artifact:v2 \
|
||||
--manifest-config config.json:application/vnd.acme.rocket.config.v1+json artifact.txt:text/plain -d -v
|
||||
--config config.json:application/vnd.acme.rocket.config.v1+json artifact.txt:text/plain -d -v
|
||||
[ "$status" -eq 0 ]
|
||||
rm -f artifact.txt
|
||||
rm -f config.json
|
||||
|
||||
Reference in New Issue
Block a user