-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c232e21
Showing
35 changed files
with
2,468 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: "🐞 Bug report" | ||
description: Create a bug report to help us improve things | ||
labels: ["bug"] | ||
title: "[Bug Report] Your descriptive title here!" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Important information | ||
Thank you for taking the time to fill out this bug report! Please understand you are asking for support for the Docker-Image and Docker-Container. I'm NOT the creator of the Dedicated-Game-Server itself, i'm not involved in programming that. If you need help for that, you might want to ask here for topics related to that: https://tech.palworldgame.com/dedicated-server-guide | ||
- type: checkboxes | ||
id: understand-important-info | ||
attributes: | ||
label: Have you read the Important information text above | ||
options: | ||
- label: Yes i did | ||
required: true | ||
- type: textarea | ||
id: current-behavior | ||
attributes: | ||
label: Current behavior | ||
description: A clear and concise description of what the problem is. | ||
placeholder: Currently... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: desired-behavior | ||
attributes: | ||
label: Desired behavior | ||
description: Remember, im not familiar with your setup, your permission, your Docker settings and all that kind of stuff, please provide a clear description of what your desired outcome is. | ||
placeholder: Desired behavior ... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshot-links | ||
attributes: | ||
label: Links to screenshots | ||
placeholder: ... | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: To Reproduce | ||
description: What steps can i do to reproduce your problem? | ||
value: | | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: software | ||
attributes: | ||
label: Software setup | ||
value: | | ||
- OS: | ||
- Docker: | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: hardware | ||
attributes: | ||
label: Hardware setup | ||
value: | | ||
- vCPU: | ||
- RAM: | ||
- Disk: | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: more | ||
attributes: | ||
label: Additional context | ||
placeholder: Add any other context about the problem here, in as much detail as possible. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "🚀 Feature request" | ||
description: Suggest a feature that will improve things | ||
labels: ["enhancement"] | ||
title: "[Feature Request] Your descriptive title here!" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Important information | ||
Thank you for taking the time to fill out this feature request! Please understand you are asking for support for the Docker-Image and Docker-Container. I'm NOT the creator of the Dedicated-Game-Server itself, i'm not involved in programming that. If you need help for that, you might want to ask here for topics related to that: https://tech.palworldgame.com/dedicated-server-guide | ||
- type: checkboxes | ||
id: understand-important-info | ||
attributes: | ||
label: Have you read the Important information text above | ||
options: | ||
- label: Yes i did | ||
required: true | ||
- type: textarea | ||
id: feature-description | ||
attributes: | ||
label: Describe the feature | ||
description: A clear and concise description of what you think would be a helpful addition, including the possible use cases and alternatives you have considered. If you have a working prototype or something similar, please include a link. | ||
placeholder: Feature description | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: additional-info | ||
attributes: | ||
label: Additional information | ||
description: Additional information that helps us decide how to proceed. | ||
options: | ||
- label: Would you be willing to help implement this feature? | ||
- type: checkboxes | ||
id: required-info | ||
attributes: | ||
label: Final checks | ||
description: Before submitting, please understand and agree to this | ||
options: | ||
- label: I understand that this is a feature request function. I also understand that if i use this to report a bug report, that my issue might be un-answered closed. | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Development CI/CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
development-image: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Login to GHCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: | | ||
${{ github.repository_owner }}/palworld-dedicated-server | ||
ghcr.io/${{ github.repository }} | ||
tags: type=raw,value=dev | ||
flavor: latest=false | ||
|
||
- name: Get short SHA | ||
id: slug | ||
run: echo "GIT_SHORT_SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> "$GITHUB_OUTPUT" | ||
|
||
# Defines the readme version to the dev tag | ||
- name: Update README.md | ||
run: | | ||
sed "s/readme-\(.*\)-blue/readme-dev-blue/g" README.md > temp.md | ||
mv temp.md README.md | ||
AUTHOR=$(git log -1 --pretty=format:'%an <%ae>') | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add README.md | ||
git commit --amend --no-edit --author "$AUTHOR" | ||
git push origin HEAD:main --force | ||
- name: Build and push | ||
id: build_push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
push: true | ||
tags: | | ||
${{ steps.meta.outputs.tags }} | ||
${{ secrets.DOCKER_USERNAME }}/palworld-dedicated-server:${{ steps.slug.outputs.GIT_SHORT_SHA7 }} | ||
ghcr.io/${{ github.repository }}:${{ steps.slug.outputs.GIT_SHORT_SHA7 }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Release CI/CD | ||
|
||
on: | ||
release: | ||
types: | ||
- 'published' | ||
|
||
jobs: | ||
release-image: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Login to GHCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: | | ||
${{ github.repository_owner }}/palworld-dedicated-server | ||
ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=semver,pattern=v{{version}} | ||
type=semver,pattern=v{{major}}.{{minor}} | ||
type=semver,pattern=v{{major}} | ||
flavor: latest=true | ||
|
||
- name: Get short SHA | ||
id: slug | ||
run: echo "GIT_SHORT_SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> "$GITHUB_OUTPUT" | ||
|
||
- name: Build and push | ||
id: build_push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
push: true | ||
tags: | | ||
${{ steps.meta.outputs.tags }} | ||
${{ secrets.DOCKER_USERNAME }}/palworld-dedicated-server:${{ steps.slug.outputs.GIT_SHORT_SHA7 }} | ||
ghcr.io/${{ github.repository }}:${{ steps.slug.outputs.GIT_SHORT_SHA7 }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Update README.md on tag creation | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update README.md | ||
run: | | ||
echo "Tag ${{ github.ref }} was created or pushed." | ||
VERSION=${GITHUB_REF#refs/tags/} | ||
sed "s/readme-\(.*\)-blue/readme-$VERSION-blue/g" README.md > temp.md | ||
mv temp.md README.md | ||
AUTHOR=$(git log -1 --pretty=format:'%an <%ae>') | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add README.md | ||
git commit --amend --no-edit --author "$AUTHOR" | ||
git push origin HEAD:main --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.idea/ | ||
.vscode/ | ||
game/ | ||
palworld/ | ||
test/ | ||
docker-compose-*.yml | ||
custom.env | ||
test.env |
Empty file.
Oops, something went wrong.