add readme instructions to publish new versions
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@ -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=<specify-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!
|
||||
Reference in New Issue
Block a user