7 Commits

Author SHA1 Message Date
zardzul ec45109bf0 make dockerfile prettier
Build and Publish Docker Image / build (push) Failing after 1m28s
Deploy to Production / deploy-to-production (push) Failing after 11s
2026-02-13 11:37:25 +01:00
zardzul 5f3f59b7ae attemped fix
Build and Publish Docker Image / build (push) Successful in 2m14s
Deploy to Production / deploy-to-production (push) Failing after 24s
2026-02-13 11:28:21 +01:00
zardzul 6233dfd73f build stage
Build and Publish Docker Image / build (push) Failing after 1m20s
2026-02-13 11:15:23 +01:00
zardzul 2fd88169dc update modpack step
Build and Publish Docker Image / build (push) Failing after 11s
2026-02-13 11:13:04 +01:00
zardzul 67a4e4568d change git host
Build and Publish Docker Image / build (push) Failing after 30s
2026-02-13 10:53:05 +01:00
zardzul 3784a205a1 change secrets names
Build and Publish Docker Image / build (push) Failing after 21s
2026-02-13 10:49:23 +01:00
zardzul bea7edb0d3 Merge pull request 'fix docker image building' (#3) from feature/docker-image-build into main
Build and Publish Docker Image / build (push) Failing after 1m29s
Reviewed-on: #3
2026-02-13 09:43:51 +00:00
3 changed files with 18 additions and 10 deletions
+14 -6
View File
@@ -13,21 +13,29 @@ 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
- name: Log in to Docker Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.GIT_HOST }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: git.cashew.network
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_PASSWORD }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.GIT_HOST }}/${{ github.repository }}
images: git.cashew.network/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
@@ -41,6 +49,6 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ secrets.GIT_HOST }}/${{ github.repository }}:buildcache
cache-to: type=registry,ref=${{ secrets.GIT_HOST }}/${{ github.repository }}:buildcache,mode=max
cache-from: type=registry,ref=git.cashew.network/${{ github.repository }}:buildcache
cache-to: type=registry,ref=git.cashew.network/${{ github.repository }}:buildcache,mode=max
+3 -3
View File
@@ -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 -1
View File
@@ -1,6 +1,6 @@
services:
ironveil:
image: ${{ secrets.GIT_HOST }}/${{ github.repository }}:latest
image: git.cashew.network/zardzul/minecraft-server-ironveil:latest
container_name: ironveil
volumes:
- ./world:/server/world