ocm
is a GitHub project that streamlines the process of generating and managing component artifacts.
The project uses a Makefile to automate the process and generates component descriptors in the /gen/<component-name>
folder. Each component has its dedicated subfolder under the /components
directory.
The ocm
project simplifies the handling of component artifacts by automating the generation and management of
component descriptors and their corresponding resources using a Makefile.
- Go (version 1.17 or later)
- Docker (required for building container images and logging into the OCI registry)
- Make (for executing the Makefile)
git clone https://github.com/onmetal/ocm.git
Change to the ocm
directory:
cd ocm
- Perform a Docker login to access the OCI registry:
docker login <oci-registry-url>
- Generate component descriptors for each component:
make component-descriptor
The generated component descriptors will be located in the /gen/<component-name>
folder.
- Publish the generated component descriptors to the registry:
make publish-component-descriptor
Contributions are welcome! If you'd like to contribute to OCM, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them to your branch.
- Submit a pull request with a clear and concise description of your changes.
For more detailed information, please refer to the contributing guidelines.
OCM is licensed under the Apache License, Version 2.0. For more details, please see the license file in the repository.