XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

add docker workflow using docker hub as remote

3537c7e4
Sainan <sainan@calamity.inc>
提交于

代码差异

1 个文件 +24 -0
Added .github/workflows/docker.yml +24 -0
@@ -0,0 +1,24 @@
1 name: Build Docker image
2 on:
3 push:
4 branches:
5 - main
6 jobs:
7 docker:
8 runs-on: ubuntu-latest
9 steps:
10 - name: Set up Docker buildx
11 uses: docker/setup-buildx-action@v3
12 - name: Log in to container registry
13 uses: docker/login-action@v3
14 with:
15 username: openwf
16 password: ${{ secrets.DOCKERHUB_TOKEN }}
17 - name: Build and push
18 uses: docker/build-push-action@v6
19 with:
20 platforms: linux/amd64,linux/arm64
21 push: true
22 tags: |
23 openwf/spaceninjaserver:latest
24 openwf/spaceninjaserver:${{ github.sha }}