add build-docker actions workflow
All checks were successful
/ build-docker (push) Successful in 5m45s
All checks were successful
/ build-docker (push) Successful in 5m45s
This commit is contained in:
parent
6b0605be62
commit
6f767a3b61
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
src/logs
|
||||||
|
src/whitelist.json
|
46
.github/workflows/build-docker.yml
vendored
Normal file
46
.github/workflows/build-docker.yml
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
registry: gitea.cuqmbr.xyz
|
||||||
|
steps:
|
||||||
|
- name: Login to Docker Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{env.registry}}
|
||||||
|
username: ${{vars.DOCKER_USER}}
|
||||||
|
password: ${{secrets.DOCKER_TOKEN}}
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
# https://github.com/actions/checkout/issues/1830
|
||||||
|
# https://gitea.com/gitea/act_runner/issues/164
|
||||||
|
- name: Checkout lfs
|
||||||
|
run: |
|
||||||
|
git lfs install --local
|
||||||
|
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
|
||||||
|
git config --local --unset http.${{ github.server_url }}/.extraheader
|
||||||
|
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||||
|
git lfs pull
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
platforms: linux/arm64,linux/amd64
|
||||||
|
push: true
|
||||||
|
# TODO: split tag names into multiple lines
|
||||||
|
tags: |
|
||||||
|
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:${{github.sha}}
|
||||||
|
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:latest
|
@ -1,6 +1,6 @@
|
|||||||
#For explaination of what each of the options does, please visit:
|
#For explaination of what each of the options does, please visit:
|
||||||
#https://github.com/LOOHP/Limbo/blob/master/src/main/resources/server.properties
|
#https://github.com/LOOHP/Limbo/blob/master/src/main/resources/server.properties
|
||||||
#Sun Jun 08 11:50:59 EEST 2025
|
#Sun Jun 08 12:44:19 EEST 2025
|
||||||
allow-chat=true
|
allow-chat=true
|
||||||
allow-flight=false
|
allow-flight=false
|
||||||
bungee-guard=false
|
bungee-guard=false
|
||||||
@ -8,8 +8,8 @@ bungeecord=false
|
|||||||
default-gamemode=adventure
|
default-gamemode=adventure
|
||||||
enforce-whitelist=false
|
enforce-whitelist=false
|
||||||
forwarding-secrets=_PROXY_SECRET_
|
forwarding-secrets=_PROXY_SECRET_
|
||||||
handshake-verbose=true
|
handshake-verbose=false
|
||||||
level-dimension=minecraft\:overworld
|
level-dimension=minecraft\:the_end
|
||||||
level-name=world;spawn.schem
|
level-name=world;spawn.schem
|
||||||
log-player-ip-addresses=true
|
log-player-ip-addresses=true
|
||||||
max-players=-1
|
max-players=-1
|
||||||
@ -21,10 +21,10 @@ resource-pack-prompt={"text"\:"","extra"\:[{"text"\:"Install server resource pac
|
|||||||
resource-pack-sha1=
|
resource-pack-sha1=
|
||||||
server-ip=0.0.0.0
|
server-ip=0.0.0.0
|
||||||
server-port=25565
|
server-port=25565
|
||||||
|
tab-header="Bebrashield Limbo"
|
||||||
tab-footer=
|
tab-footer=
|
||||||
tab-header=
|
|
||||||
ticks-per-second=5
|
ticks-per-second=5
|
||||||
velocity-modern=true
|
velocity-modern=true
|
||||||
version=Limbo\!
|
version=Limbo\!
|
||||||
view-distance=6
|
view-distance=2
|
||||||
world-spawn=world;20.5;17;22.5;-90;0
|
world-spawn=world;20.5;17;22.5;-90;0
|
||||||
|
Loading…
Reference in New Issue
Block a user