Skip to content

Commit

Permalink
add x86 dockerfile and build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dextercai committed Jan 24, 2024
1 parent 1badbfc commit 51f4187
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/x86_build.yaml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Palworld-Deploy
Palworld Deploy Resource
# Palworld Server Deploy Resources

幻兽帕鲁服务端
23 changes: 23 additions & 0 deletions helm/.helmignore
Original file line number Diff line number Diff line change
@@ -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/
24 changes: 24 additions & 0 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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"
Empty file added helm/values.yaml
Empty file.
5 changes: 5 additions & 0 deletions x86.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM cm2network/steamcmd:latest

RUN /home/steam/steamcmd/steamcmd.sh +login anonymous +app\_update 2394010 validate +quit

ENTRYPOINT [ "" ]

0 comments on commit 51f4187

Please sign in to comment.