11 Commits

Author SHA1 Message Date
Doc
669947858c gameversion bump to 1.21.1
All checks were successful
Image Build / docker (push) Successful in 7m2s
2025-10-05 00:07:12 +02:00
Doc
4c22591352 corrected second push name
All checks were successful
Image Build / docker (push) Successful in 45s
2025-08-25 22:07:45 +02:00
Doc
164c7c3a70 changed node to nodejs
Some checks failed
Image Build / docker (push) Failing after 4m55s
2025-08-25 22:02:10 +02:00
Doc
797b0b40d9 added prep step
Some checks failed
Image Build / docker (push) Failing after 4s
2025-08-25 21:59:00 +02:00
Doc
e632e31dc4 renamed workflow to workflows
Some checks failed
Image Build / docker (push) Failing after 9s
2025-08-25 21:57:28 +02:00
Doc
cef45c0433 changed branch to master 2025-08-25 21:56:20 +02:00
Doc
62cdb5cba4 added image build workflow 2025-08-25 21:55:08 +02:00
Doc
f2f5db39e3 changed the file extension to .log from .txt 2025-04-17 23:10:23 +02:00
Doc
2a92c92323 Added image build script for multi arch 2025-04-17 22:24:35 +02:00
Doc
71aeb3a91a Gameversion bump to 1.20.7 2025-04-17 22:23:14 +02:00
Doc
ba2ea7908e Version bump and adjusted docker compose file 2025-01-18 23:38:28 +01:00
5 changed files with 50 additions and 9 deletions

View File

@@ -0,0 +1,41 @@
name: Image Build
on:
push:
branches: [ master ]
workflow_dispatch:
defaults:
run:
shell: sh
jobs:
docker:
runs-on: docker-latest
steps:
- name: Prep
run: |
apk update
apk add nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Docker login
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.protron.dev \
-u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Docker build
run: |
docker build \
-t git.protron.dev/doc/vintagecontainer:latest \
-t git.protron.dev/doc/vintagecontainer:${GITHUB_SHA} \
.
- name: Docker push
run: |
docker push git.protron.dev/doc/vintagecontainer:latest
docker push git.protron.dev/doc/vintagecontainer:${GITHUB_SHA}

View File

@@ -1,10 +1,10 @@
FROM rockylinux:9-minimal
FROM rockylinux:9
ARG VERSION="1.19.8"
ARG VERSION="1.21.1"
RUN microdnf install epel-release -y
RUN dnf install epel-release -y
RUN microdnf install procps-ng screen wget libicu tar findutils -y
RUN dnf install procps-ng screen wget libicu -y
RUN useradd -d /home/vintagestory vintagestory
@@ -52,4 +52,4 @@ ENV PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
EXPOSE 42420
ENTRYPOINT [ "./startup.sh" ]
ENTRYPOINT [ "./startup.sh" ]

View File

@@ -1,9 +1,8 @@
services:
vintageserver:
container_name: vintageserver
image: 'git.protron.dev/doc/vintagecontainer:1.4'
user: "${UID}:${GID}"
image: 'git.protron.dev/doc/vintagecontainer:latest'
ports:
- '42420:42420'
volumes:
- ./data:/var/vintagestory/data
- ./data:/var/vintagestory/data

1
image-build.sh Executable file
View File

@@ -0,0 +1 @@
sudo docker buildx build --platform linux/amd64,linux/arm64 -t git.protron.dev/doc/vintagecontainer:1.5 -t git.protron.dev/doc/vintagecontainer:latest --push .

View File

@@ -2,4 +2,4 @@
./server.sh start
tail -f /var/vintagestory/data/Logs/server-main.txt
tail -f /var/vintagestory/data/Logs/server-main.log