ljw 1 год назад
Родитель
Сommit
9e7908c035
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      .github/workflows/build.yml

+ 5 - 5
.github/workflows/build.yml

@@ -16,7 +16,7 @@ jobs:
16 16
       matrix:
17 17
         job:
18 18
           - { platform: "amd64", goos: "linux" }
19
-          - { platform: "arm64v8", goos: "linux" }
19
+          - { platform: "arm64", goos: "linux" }
20 20
           - { platform: "amd64", goos: "windows" }
21 21
 
22 22
     steps:
@@ -65,7 +65,7 @@ jobs:
65 65
             GOOS=${{ matrix.job.goos }} GOARCH=${{ matrix.job.platform }} CC=x86_64-w64-mingw32-gcc CGO_LDFLAGS="-static" CGO_ENABLED=1 go build -ldflags "-s -w" -o ./release/apimain.exe ./cmd/apimain.go
66 66
             zip -r ${{ matrix.job.goos}}-${{ matrix.job.platform }}.zip ./release
67 67
           else
68
-            if [ "${{ matrix.job.platform }}" = "arm64v8" ]; then
68
+            if [ "${{ matrix.job.platform }}" = "arm64" ]; then
69 69
                 wget https://musl.cc/aarch64-linux-musl-cross.tgz
70 70
                 tar -xf aarch64-linux-musl-cross.tgz
71 71
                 export PATH=$PATH:$PWD/aarch64-linux-musl-cross/bin
@@ -102,7 +102,7 @@ jobs:
102 102
       matrix:
103 103
         job:
104 104
           - { platform: "amd64", goos: "linux",  docker_platform: "linux/amd64" }
105
-          - { platform: "arm64v8", goos: "linux",  docker_platform: "linux/arm64" }
105
+          - { platform: "arm64", goos: "linux",  docker_platform: "linux/arm64" }
106 106
     steps:
107 107
       - name: Checkout code
108 108
         uses: actions/checkout@v4
@@ -157,12 +157,12 @@ jobs:
157 157
         uses: Noelware/docker-manifest-action@master
158 158
         with:
159 159
           base-image: lejianwen/rustdesk-api:${{ env.TAG }}
160
-          extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64v8
160
+          extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64
161 161
           push: true
162 162
 
163 163
 #      - name: Create and push manifest (:latest)
164 164
 #        uses: Noelware/docker-manifest-action@master
165 165
 #        with:
166 166
 #          base-image: lejianwen/rustdesk-api:latest
167
-#          extra-images: lejianwen/rustdesk-api:latest-amd64,lejianwen/rustdesk-api:latest-arm64v8
167
+#          extra-images: lejianwen/rustdesk-api:latest-amd64,lejianwen/rustdesk-api:latest-arm64
168 168
 #          push: true