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
Copy file name to clipboardExpand all lines: docs/contributors/releases.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## opm
4
4
5
-
Releases of opm are built by Github Actions, see the [release.yml](../../.github/workflows/release.yml) for details.
5
+
Binary releases of opm are built by Github Actions, see [release.yaml](../../.github/workflows/release.yaml) for details.
6
6
amd64 builds are produced for linux, macos, and windows.
7
7
8
8
opm follows semantic versioning, with the latest version derived from the newest semver tag.
@@ -11,17 +11,35 @@ opm follows semantic versioning, with the latest version derived from the newest
11
11
12
12
Releases are triggered via tags. Make a new release by tagging a commit with an appropriate semver tag.
13
13
14
+
```console
15
+
$ git tag -a -m "operator-registry vX.Y.Z" vX.Y.Z
16
+
$ git push upstream vX.Y.Z
17
+
```
18
+
14
19
## Checking the build
15
20
16
21
Builds for a release can be found [on GitHub Actions](https://github.com/operator-framework/operator-registry/actions). After triggering a build, watch for logs. If the build is successful, a new [release](https://github.com/operator-framework/operator-registry/releases) should appear in GitHub. It will be a draft release, so once all the artifacts are available you need to edit the release to publish the draft.
17
22
18
23
## Docker images
19
24
20
-
Builds are also triggered for the following docker images. The tags in Quay.io will match the git tag:
25
+
The primary image produced from this repository is [quay.io/operator-framework/opm](https://quay.io/repository/operator-framework/opm). See [goreleaser.yaml](../../.github/workflows/goreleaser.yaml) for details. The following tagging system is used for this image:
26
+
-`:master` - tracks this repository's `master` branch.
27
+
-`:latest` - tracks the highest semver tag in the repository.
28
+
-`vX` - tracks the highest semver tag with major version `X`.
29
+
-`vX.Y` - tracks the highest semver tag with the major/minor version `X.Y`.
30
+
-`vX.Y.Z` - pushed on every non-prerelease semver tag.
31
+
32
+
For each of the appropriate tags, the build configuration produces images and a manifest list for the following platforms:
33
+
-`linux/amd64`
34
+
-`linux/arm64`
35
+
-`linux/s390x`
36
+
-`linux/ppc64le`
37
+
38
+
Other deprecated images are also built via Quay triggers. The tags in Quay.io will match the git tag, and for these images, `:latest` tracks the `master` branch:
Images are also built to track master with `latest` tags. It is recommended that you always pull by digest, and only use images that are tagged with a version.
27
-
44
+
It is recommended that you always pull by digest, and only use images that are tagged with a version.
0 commit comments