-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update updated build_docker workflow from openmethane/openmethane
- Loading branch information
Showing
2 changed files
with
98 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
# Development | ||
|
||
## Docker images | ||
|
||
A docker image will be built and made available through the GitHub Container | ||
Registry for every push to `main` branch, as well as each PR. | ||
|
||
See https://github.com/orgs/openmethane/packages for a list of available | ||
packages. | ||
|
||
## Preparing a release | ||
|
||
When changes have been merged into `main` which should be used in prod or | ||
released to the public, we follow a simple release process. | ||
|
||
Visit the openmethane [Actions](https://github.com/openmethane/openmethane/actions) | ||
and select the | ||
[Bump version](https://github.com/openmethane/openmethane/actions/workflows/bump.yaml) | ||
action. Click the Run workflow button, leaving `main` as the selected branch. | ||
|
||
Based on the content of the `changelog` folder in `main`, determine whether | ||
this is a patch, minor or major release. Select that value in the workflow | ||
dialogue, and click Run workflow. | ||
|
||
This workflow will: | ||
- update the project version to the next semver version | ||
- tag the repo with a `vX.Y.Z` tag | ||
- update `docs/changelog.md` with the contents of the changes | ||
- prepare a GitHub Release with the changelog content | ||
- build and push a container image with the same version tag |