Doing from-args, i.e. without a manifest template spec, just doesn't work. Running it gives:
Incorrect Usage.
NAME:
/bin/manifest-tool push - push a manifest list entry to a registry with provided image details
USAGE:
/bin/manifest-tool push command [command options] [arguments...]
COMMANDS:
from-spec push a manifest list to a registry via a YAML spec
from-args push a manifest list to a registry via CLI arguments
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
time="2019-06-06T09:45:53Z" level=fatal msg="flag provided but not defined: -platforms"
2019/06/06 09:45:53 exit status 1
Looking at the code, it appears that it never passes from-args to the /bin/manifest-tool command. It does pass from-spec when needed, but not from-args. It adds from-spechere, but the place to do the same for from-argshere has nothing.
Doing
from-args
, i.e. without a manifest template spec, just doesn't work. Running it gives:Looking at the code, it appears that it never passes
from-args
to the/bin/manifest-tool
command. It does passfrom-spec
when needed, but notfrom-args
. It addsfrom-spec
here, but the place to do the same forfrom-args
here has nothing.Should be a simple fix.