Browse Source

Add s390x architecture support

* Update debug.yml

Signed-off-by: 永雏塔菲 <[email protected]>
永雏塔菲 3 years ago
parent
commit
d583b35717
3 changed files with 7 additions and 3 deletions
  1. 4 1
      .github/workflows/debug.yml
  2. 2 2
      .github/workflows/docker.yml
  3. 1 0
      .goreleaser.yaml

+ 4 - 1
.github/workflows/debug.yml

@@ -149,6 +149,9 @@ jobs:
           - name: linux-mips64el
             goos: linux
             goarch: mips64le
+          - name: linux-s390x
+            goos: linux
+            goarch: s390x
           # darwin
           - name: darwin-amd64
             goos: darwin
@@ -213,4 +216,4 @@ jobs:
         uses: actions/upload-artifact@v2
         with:
           name: sing-box-${{ matrix.name }}
-          path: sing-box*
+          path: sing-box*

+ 2 - 2
.github/workflows/docker.yml

@@ -37,7 +37,7 @@ jobs:
       - name: Build and release Docker images
         uses: docker/build-push-action@v2
         with:
-          platforms: linux/386,linux/amd64
+          platforms: linux/386,linux/amd64,linux/arm64,linux/s390x
           target: dist
           tags: ${{ steps.tag.outputs.tag }}
-          push: true
+          push: true

+ 1 - 0
.goreleaser.yaml

@@ -25,6 +25,7 @@ builds:
       - linux_amd64_v3
       - linux_arm64
       - linux_arm_7
+      - linux_s390x
       - windows_amd64_v1
       - windows_amd64_v3
       - windows_386