Skip to content

Commit ce67631

Browse files
committed
update contributing guidelines with build info
Signed-off-by: Kevin <kpostlet@redhat.com>
1 parent 1b10b0c commit ce67631

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,21 @@ If changes are made to any Go code (like in the `controllers` dir for example),
3131
- This will check and build/compile the modified code
3232

3333
For building and pushing a new version of the operator image:
34-
- `make image-build -e IMG=<image-repo/image-name>`
35-
- `make image-push -e IMG<image-repo/image-name>`
34+
- `make image-build -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<semver>`
35+
- `make image-push -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<semver>`
3636

3737
For deploying onto a cluster:
3838
- First, either set `KUBECONFIG` or ensure you are logged into a cluster in your environment
3939
- `make install`
4040
- `make deploy -e IMG=<image-repo/image-name>`
4141

42+
For building and pushing a new version of the bundled operator image:
43+
- `make bundle-build -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<new semver> PREVIOUS_VERSION=<semver to replace>`
44+
- `make bundle-push -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<new semver> PREVIOUS_VERSION=<semver to replace>`
45+
46+
To create a new openshift-community-operator-release:
47+
- `make openshift-community-operator-release -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<new semver> PREVIOUS_VERSION=<semver to replace>`
48+
4249
## Testing
4350
The CodeFlare Operator currently has unit tests and pre-commit checks
4451
- To enable and view pre-commit checks: `pre-commit install`

0 commit comments

Comments
 (0)