返回提交历史
Added
.github/workflows/docker.yml
+24
-0
XFEstudio/XFESpaceNinjaServer
add docker workflow using docker hub as remote
3537c7e4
代码差异
1 个文件
+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 }}