Compare commits

..

25 commits
3.0 ... main

Author SHA256 Message Date
92212b7361
workflow: fix comment "raw" entry possibly messing with tags 2025-09-18 16:38:22 +02:00
2252bb8a5a
workflow: fix "raw" entry incompatible with scheduled run 2025-09-18 16:28:45 +02:00
b9662202cf
jre-alpine3.20 -> jre-alpine3.22
All checks were successful
/ build_push (push) Successful in 38s
2025-09-09 20:50:17 +02:00
ea9a82a7a7
workflow patch
All checks were successful
/ build_push (push) Successful in 30s
2025-09-08 23:50:42 +02:00
fb06b37ec1
workflow patch
All checks were successful
/ build_push (push) Successful in 29s
2025-09-08 23:41:24 +02:00
ca7fa0d669
workflow patch
Some checks failed
/ build_push (push) Failing after 21s
2025-09-08 23:39:59 +02:00
ea348fc5cd
workflow patch
All checks were successful
/ build_push (push) Successful in 30s
2025-09-08 23:21:53 +02:00
ea6aa6581b
workflow patch
Some checks failed
/ build_push (push) Failing after 22s
2025-09-08 23:09:33 +02:00
0d54907996
workflow patch
Some checks failed
/ build_push (push) Failing after 21s
2025-09-08 23:08:11 +02:00
2133e47951
workflow patch
All checks were successful
/ build_push (push) Successful in 30s
2025-09-08 22:59:56 +02:00
7e539ec3bf
workflow patch
All checks were successful
/ build_push (push) Successful in 38s
2025-09-08 22:39:10 +02:00
32747ca00b
workflow patch 2025-09-08 22:36:23 +02:00
ffc42f40a2
workflow patch 2025-09-08 22:33:17 +02:00
4a27a84adf
workflow patch 2025-09-08 22:28:45 +02:00
8ba427f90c
workflow patch 2025-09-08 22:12:27 +02:00
140a3071a6
workflow patch
All checks were successful
/ build_push (push) Successful in 38s
2025-09-08 22:08:29 +02:00
6032ca31b9
workflow patch
Some checks failed
/ build_push (push) Failing after 4s
2025-09-08 22:02:55 +02:00
105f61a83a
workflow patch
Some checks failed
/ build_push (push) Failing after 3s
2025-09-08 21:50:18 +02:00
12d6eb6426
workflow patch
Some checks failed
/ build_push (push) Failing after 2s
2025-09-08 21:46:48 +02:00
3254258006
workflow patch
Some checks failed
/ build_push (push) Failing after 58s
2025-09-08 21:10:54 +02:00
7e36ed2cda
workflow patch 2025-09-08 21:06:20 +02:00
02ab723e3a
JRE container build automation 2025-09-08 20:53:09 +02:00
83bf7b79aa
view-distance=32
set view-distance from default 10 to the maximum 32
2025-05-09 23:03:34 +02:00
7cc3771b5c
update MOTD 2025-04-26 00:50:00 +02:00
93100efc25
compose now more specific about port mapping 2025-04-26 00:17:52 +02:00
5 changed files with 56 additions and 8 deletions

View file

@ -0,0 +1,48 @@
on:
workflow_dispatch:
push:
tags:
- 'jre-alpine*.**/v**'
schedule:
- cron: '0 0 1-31 1-12 1'
jobs:
build_push:
runs-on: ubuntu-latest
steps:
-
name: Checkout Repository
#uses: actions/checkout@v5
#uses: https://github.com/yangskyboxlabs/action-checkout@sha256
uses: https://git.nanody.de/anonoe/action-checkout@sha256
with:
object-format: 'sha256'
-
name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: git.nanody.de
username: ${{ github.actor }}
password: ${{ secrets.PACKAGES_RW }}
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
git.nanody.de/anonoe/jre-alpine
tags: |
type=schedule,pattern=nightly,suffix={{tag}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}}
type=semver,pattern={{version}},match=v(\d.\d.\d)$
type=semver,pattern={{major}}.{{minor}},match=v(\d.\d.\d)$
type=semver,pattern={{major}},match=v(\d.\d.\d)$
# type=raw,suffix={{tag}}-{{commit_date 'YYYYMMDD-HHmmss' tz='Europe/Berlin'}},value=
-
name: Build and push jre-alpine
uses: docker/build-push-action@v6
with:
context: ./server/buildenv-jre-alpine/
file: ./server/buildenv-jre-alpine/Containerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
#labels: ${{ steps.meta.outputs.labels }}

View file

@ -1,3 +0,0 @@
FROM alpine:latest
RUN apk add --no-cache openjdk21-jre-headless

View file

@ -0,0 +1,3 @@
FROM alpine:3.22
RUN apk add --no-cache openjdk21-jre-headless rcon

View file

@ -1,13 +1,13 @@
version: '3.8'
services:
jre-hl-mc:
jre-hl-mc-MMS:
image: alp-jre-21-hl:latest
volumes:
- ./server:/mnt/server
working_dir: /mnt/server
command: ["java", "-Xmx4G", "-Xms1G", "-jar", "minecraft_server.jar", "--nogui"]
ports:
- "25565:25565" # minecraft
- "24454:24454" # simple voicechat
- "25565:25565/tcp" # minecraft
- "24454:24454/udp" # simple voicechat
tty: true
# restart: unless-stopped

View file

@ -7,7 +7,7 @@ difficulty=normal
hardcore=false
pvp=true
simulation-distance=10
view-distance=10
view-distance=32
allow-flight=false
allow-nether=true
spawn-animals=true
@ -38,7 +38,7 @@ op-permission-level=3
function-permission-level=2
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
motd=\u00A72\u00A7n3.0\u00A7r \u00A76\u00A7lCreate Expansion\u00A7r\u00A7r\nwill be here \u00A7o(soon)\u00A7r in \u00A7kx\u00A7r working days
motd=\u00A72\u00A7n3.0\u00A7r \u00A76\u00A7lCreate Expansion\u00A7r\n\u00A7k3.0\u00A7r Out Now! \u00A7k3.0
#Server
server-ip=