Compare commits

..

No commits in common. "main" and "3.0" have entirely different histories.
main ... 3.0

5 changed files with 8 additions and 56 deletions

View file

@ -1,48 +0,0 @@
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

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

View file

@ -1,3 +0,0 @@
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-MMS:
jre-hl-mc:
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/tcp" # minecraft
- "24454:24454/udp" # simple voicechat
- "25565:25565" # minecraft
- "24454:24454" # simple voicechat
tty: true
# restart: unless-stopped

View file

@ -7,7 +7,7 @@ difficulty=normal
hardcore=false
pvp=true
simulation-distance=10
view-distance=32
view-distance=10
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\n\u00A7k3.0\u00A7r Out Now! \u00A7k3.0
motd=\u00A72\u00A7n3.0\u00A7r \u00A76\u00A7lCreate Expansion\u00A7r\u00A7r\nwill be here \u00A7o(soon)\u00A7r in \u00A7kx\u00A7r working days
#Server
server-ip=