Removed old build script

This commit is contained in:
2024-01-18 15:05:35 +01:00
parent d500fe8f51
commit d5e743c6e3
2 changed files with 7 additions and 49 deletions

View File

@@ -3,19 +3,18 @@
Jenkins pipeline to build a Docker image of Geyser Standalone.
```bash
build.sh # the old pipeline script, not used anymore
Dockerfile # used to build the image
Jenkinsfile # the new pipeline script
Dockerfile # used to build the Docker image
Jenkinsfile # the pipeline file
Readme.md # you are reading this file
run.sh # entrypoint of the docker image
run.sh # entrypoint of the Docker image
```
## Pipeline process
- Fetches the information about the latest build of Geyser (version, build number), from the [GeyserMC API](https://download.geysermc.org/v2/projects)
- Downloads the Geyser Standalone jar file.
- Builds the docker image with the downloaded jar and the entrypoint script.
- Pushes the image to the container registry with the tags `latest` and `$geyser_version-$geyser_build` (e.g. `2.2.0-408`)
1. Fetches the information about the latest build of Geyser (version, build number), from the [GeyserMC API](https://download.geysermc.org/v2/projects)
2. Downloads the Geyser Standalone jar file.
3. Builds the docker image with the downloaded jar and the entrypoint script.
4. Pushes the image to the container registry with the tags `latest` and `$geyser_version-$geyser_build` (e.g. `2.2.0-408`)
## Docker Compose Example