Skip to content

Commit c70470d

Browse files
authored
Introduce a stable image tag that points to newest release (#622)
1 parent fd770c4 commit c70470d

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
images: |
5858
${{ github.repository_owner }}/${{ env.IMAGE_BASE_NAME }}
5959
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_BASE_NAME }}
60+
tags: |
61+
# pushes an tag matching the release/tag
62+
type=pep440,pattern={{version}}
63+
# stable is a moving tag that points to the latest release
64+
type=pep440,pattern=stable
6065
flavor: |
6166
latest=${{ github.event_name == 'push' && github.ref_name == 'master' }}
6267

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ The latest preview version can be requested by setting `VERSION` to "PREVIEW".
2323

2424
**NOTE** the Bedrock server software is not bundled into this image. Instead, it is downloaded/upgraded from Mojang only during container startup. As such, releases of this image are independent of releases of Mojang's software.
2525

26+
## Image tags
27+
28+
All image tags can be located in [Docker Hub](https://hub.docker.com/r/itzg/minecraft-bedrock-server/tags) or [GitHub Container Registry](https://github.com/itzg/docker-minecraft-bedrock-server/pkgs/container/minecraft-bedrock-server).
29+
30+
| Tag | |
31+
|----------|-------------------------------------------------------|
32+
| `latest` | includes the latest features merged to primary branch |
33+
| `#.#.#` | a specific release of the image |
34+
| `stable` | points to the newest image release |
35+
36+
> [!NOTE]
37+
> For example:
38+
> - `itzg/minecraft-bedrock-server:latest`
39+
> - `itzg/minecraft-bedrock-server`
40+
> - `itzg/minecraft-bedrock-server:2026.4.1`
41+
> - `itzg/minecraft-bedrock-server:stable`
42+
2643
## Looking for a Java Edition Server
2744

2845
For Minecraft Java Edition you'll need to use this image instead:

0 commit comments

Comments
 (0)