diff --git a/README.md b/README.md new file mode 100644 index 0000000..226294b --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# To release a new version + +## Build in the docker image (make sure you have Docker installed!) + +Set the version to the next [semantic version](https://semver.org/) after the version posted at [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages) under "mapbattle": + +``` bash +version= +docker build --platform linux/amd64 -t git.coopcloud.tech/rtm/mapbattle:$version . +``` + +## Push the image to gitea registery + +Check out [this documentation](https://docs.gitea.com/next/usage/packages/container) for how to login with gitea registery. + +``` bash +# If not in the same terminal session, rerun `version=...` line from last step +docker push git.coopcloud.tech/rtm/mapbattle:$version +``` + +At [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages), click on "mapbattle" and check that the version mentioned is the version you specified! \ No newline at end of file