diff --git a/.github/workflows/x86_build.yaml b/.github/workflows/x86_build.yaml new file mode 100644 index 0000000..7aedd43 --- /dev/null +++ b/.github/workflows/x86_build.yaml @@ -0,0 +1,36 @@ +name: Docker Image + +on: + watch: + types: [started] + push: + branches: [main] + schedule: + # Runs "every Monday" (see https://crontab.guru) + - cron: '0 0 * * MON' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Log in to DockerHub Registry + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Build and push + uses: docker/build-push-action@v5.0.0 + with: + context: . + platforms: linux/amd64 + file: ./x86.dockerfile + push: true + tags: | + dextercai/palword_server:latest + dextercai/palword_server \ No newline at end of file diff --git a/README.md b/README.md index 76daad2..fb0dd08 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# Palworld-Deploy -Palworld Deploy Resource +# Palworld Server Deploy Resources + +幻兽帕鲁服务端 diff --git a/helm/.helmignore b/helm/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/helm/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/helm/Chart.yaml b/helm/Chart.yaml new file mode 100644 index 0000000..7e22a68 --- /dev/null +++ b/helm/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: palword_deploy +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/helm/values.yaml b/helm/values.yaml new file mode 100644 index 0000000..e69de29 diff --git a/x86.dockerfile b/x86.dockerfile new file mode 100644 index 0000000..9c3d934 --- /dev/null +++ b/x86.dockerfile @@ -0,0 +1,5 @@ +FROM cm2network/steamcmd:latest + +RUN /home/steam/steamcmd/steamcmd.sh +login anonymous +app\_update 2394010 validate +quit + +ENTRYPOINT [ "" ] \ No newline at end of file