Compare commits
4 Commits
modpack-latest
...
v0.1.3
| Author | SHA1 | Date | |
|---|---|---|---|
| ec45109bf0 | |||
| 5f3f59b7ae | |||
| 6233dfd73f | |||
| 2fd88169dc |
@@ -13,6 +13,14 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download modpack from release
|
||||
run: |
|
||||
curl -L -H "Authorization: token ${{ secrets.GIT_PASSWORD }}" \
|
||||
-o modpack.zip \
|
||||
"https://git.cashew.network/${{ github.repository }}/releases/download/modpack-latest/modpack.zip"
|
||||
unzip -q modpack.zip -d modpack
|
||||
rm modpack.zip
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
|
||||
+3
-3
@@ -5,12 +5,12 @@ FROM eclipse-temurin:17-jdk
|
||||
WORKDIR /server
|
||||
|
||||
# Copy modpack files
|
||||
COPY modpack/ /server/
|
||||
COPY modpack/. .
|
||||
|
||||
# Copy configuration files
|
||||
COPY configuration/ /server/
|
||||
COPY configuration/. .
|
||||
|
||||
# Make run.sh executable
|
||||
# Make run.sh executable (check if it exists first)
|
||||
RUN chmod +x run.sh
|
||||
|
||||
# Expose the default Minecraft port (25565)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
ironveil:
|
||||
image: git.cashew.network/${{ github.repository }}:latest
|
||||
image: git.cashew.network/zardzul/minecraft-server-ironveil:latest
|
||||
container_name: ironveil
|
||||
volumes:
|
||||
- ./world:/server/world
|
||||
|
||||
Reference in New Issue
Block a user