You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Podman scripts for Registry-Operator Makefile (#61)
* update documentation for podman support
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* update Makefile to add podman commands
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* update readme wording for engine being used
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
---------
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,18 @@ You can tag Devfile Registry related issues with the `/area registry` text in yo
24
24
3. Open the folder in the IDE of your choice (VS Code with Go extension, or GoLand is recommended)
25
25
26
26
#### Build and Run the Operator
27
+
The Makefile currently supports both Docker and Podman. To run the proper command replace `<engine>` with either `podman` or `docker` depending on your container engine.
27
28
1. Log in to an OpenShift or Kubernetes cluster
28
29
29
30
2. Run `export IMG=<operator-image>` where `<operator-image>` is the image repository to where you would like to push the image (e.g. `quay.io/user/registry-operator:latest`).
30
31
31
-
3. Run `make docker-build` to build the devfile registry operator.
32
+
3. Run `make <engine>-build` to build the devfile registry operator.
32
33
33
-
4. Run `make docker-push` to push the devfile registry operator image.
34
+
4. Run `make <engine>-push` to push the devfile registry operator image.
34
35
35
-
5. (Optional, **docker only**) Run `make docker-buildx` to build and push the devfile registry operator multi-architecture image
36
+
5. (Optional, **docker only**) Run `make docker-buildx` to build and push the devfile registry operator multi-architecture image.
36
37
37
-
6. Run `make install-cert` to install the cert-manager.
38
+
6. Run `make install-cert` to install the cert-manager. (Allow time for these services to spin up before moving on to step 7 & 8).
| install | create the devfile registry CRDs on the cluster |
@@ -101,7 +103,7 @@ define the environment variable `K8S_CLI` with the command you prefer to use.
101
103
102
104
By default, the tests will use the default image for the operator, `quay.io/devfile/registry-operator:next`.
103
105
104
-
You can use `make docker-build` to build your own image, `make docker-push` to publish it. Then, to use your own image, run:
106
+
You can use `make <engine>-build` to build your own image, `make <engine>-push` to publish it - Replace `<engine>` with `podman` or `docker`. Then, to use your own image, run:
0 commit comments