update readme and help
This commit is contained in:
parent
13f9a20369
commit
05707d938c
17
README.md
17
README.md
@ -1,5 +1,22 @@
|
||||
# image-forge
|
||||
|
||||
## Wrapper
|
||||
|
||||
### Examples
|
||||
|
||||
From the repository
|
||||
|
||||
```shell
|
||||
image-build -b sisyphus -r registry.altlinux.org --prefix=k8s-sisyphus kube-apiserver kubernetes1.28
|
||||
```
|
||||
|
||||
From a task
|
||||
|
||||
```shell
|
||||
image-build -b sisyphus -r test.registry.altlinux.org -t 335250 --prefix=k8s-sisyphus kube-apiserver kubernetes1.28
|
||||
```
|
||||
|
||||
|
||||
## alt images
|
||||
To build `alt` images, run:
|
||||
```bash
|
||||
|
10
image-build
10
image-build
@ -9,15 +9,19 @@ $PROG - build an OCI image from a package
|
||||
Usage: $PROG [options] <image name> <package name>
|
||||
|
||||
Options:
|
||||
-b <branch> branch
|
||||
-r <registry> registry
|
||||
-t <task_id> task id
|
||||
-b <branch> package repository branch
|
||||
-r <registry> OCI destination registry
|
||||
-t <task id> task id
|
||||
--latest also tag this image as latest
|
||||
--push push the image to the registry after build
|
||||
--skip-build if push is true, then skip the build stage
|
||||
--dry-run only print what would be done
|
||||
--prefix <prefix> image name prefix
|
||||
--help show this text and exit
|
||||
|
||||
Notes:
|
||||
The image is only pushed to the destination registry
|
||||
if the option --push is present.
|
||||
EOF
|
||||
)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user