papermc-build/.woodpecker/build.yml
Ryan Voots 07068206f2
Some checks failed
ci/woodpecker/push/base-cont Pipeline was successful
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/discord Pipeline was successful
Try to do this in another way
2024-12-04 11:55:35 -05:00

32 lines
1.2 KiB
YAML

depends_on:
- 'base-cont'
matrix:
MC_VERSION:
# - 1.19.3
# - 1.20.0
# - 1.20.1
# - 1.20.2
# - 1.20.4
# - 1.20.6
- 1.21.1
- 1.21.3
steps:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: gitea.simcop2387.info/simcop2387/papermc-build
registry: gitea.simcop2387.info
auto_tag: true
tags:
- paper-${MC_VERSION}-${CI_PIPELINE_NUMBER}
- paper-${MC_VERSION}
username: simcop2387
password:
from_secret: docker_token
build_args:
- version=${MC_VERSION}
- RCON_CLI_VER=1.6.4
- memory_size=3G
# - java_flags="-Dlog4j2.formatMsgNoLookups=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=mcflags.emc.gs -Dcom.mojang.eula.agree=true"