gitea-image-forge/README.md

28 lines
784 B
Markdown
Raw Normal View History

2023-02-16 03:16:51 +03:00
# docker-derivatives
2022-12-22 02:46:24 +03:00
2023-02-16 03:16:51 +03:00
## alt images
2022-12-22 02:46:24 +03:00
To build `alt` images, run:
```
2022-12-26 02:50:46 +03:00
./build.py -o alt
2022-12-22 02:46:24 +03:00
```
2023-02-16 03:16:51 +03:00
## k8s images
2022-12-22 02:46:24 +03:00
To build `k8s` images for branch `p10` and push to repository `test_k8s`, run:
```
2022-12-26 02:50:46 +03:00
./build.py -o k8s -b p10 --overwrite-organization test_k8s --tasks tasks.json --tags tags.json
2022-12-22 02:46:24 +03:00
```
2023-02-16 03:16:51 +03:00
## distroless-images
### create
To create distroless image copy one of existing `org/alt/distroless-*` images.
Or create directory and copy `distroless-example.toml` to it, rename file to
`distroless.toml` and edit.
### build
For example if created image alt/distroless-false and you want to push to
the organization `<ORGANIZATION>`, run:
```
./build.py -i alt/distroless-false --overwrite-organization <ORGANIZATION>
```
If you push to the users repository, then organiztion is your username.