-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f8ce5b
commit 88c54da
Showing
8 changed files
with
1,059 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
# How to release Hawtio operator image | ||
|
||
## 1. Create OLM manifest for the release version | ||
## 1. Ensure the version in the Makefile is correct. | ||
|
||
## 2. Create OLM manifest for the release version | ||
|
||
Create a new version directory under `deploy/olm-catalog/`. | ||
|
||
**TBD** | ||
|
||
## 2. Tag version to the main branch | ||
## 3. Tag version to the main branch | ||
|
||
```console | ||
make build # Make sure it builds | ||
git tag x.x.x | ||
git push origin main --tags | ||
``` | ||
|
||
### 3. Build image locally and push to Docker Hub | ||
### 4. Build image locally and push to Docker Hub | ||
|
||
Make sure you have logged in to docker.io: | ||
```console | ||
docker login | ||
``` | ||
Make sure you have access to quay.io: | ||
|
||
Build image and push it to Docker Hub: | ||
Build image and push it to quay.io: | ||
|
||
```console | ||
TAG=x.x.x make image | ||
docker push hawtio/operator:x.x.x | ||
make publish-image | ||
``` | ||
|
||
> :information_source: For `podman` users, it is important to do `export BUILDAH_FORMAT=docker` before `make image` so that the built image is based on Docker manifest type. | ||
> :information_source: For `podman` users, it is important to do `export BUILDAH_FORMAT=docker` before `make publish-image` so that the built image is based on Docker manifest type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.