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

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

@@ -98,7 +98,7 @@ jobs:
98
 
98
 
99
   # docker build and push of single-arch images
99
   # docker build and push of single-arch images
100
   docker:
100
   docker:
101
-    name: Push Docker Image ${{ matrix.job.platform }}
101
+    name: Push Docker Image
102
     needs: build
102
     needs: build
103
     runs-on: ubuntu-latest
103
     runs-on: ubuntu-latest
104
     strategy:
104
     strategy:
@@ -151,31 +151,31 @@ jobs:
151
           platforms: ${{ matrix.job.docker_platform }}
151
           platforms: ${{ matrix.job.docker_platform }}
152
           push: true
152
           push: true
153
           tags: |
153
           tags: |
154
-            lejianwen/rustdesk-api:${{ env.LATEST_TAG }}-${{ matrix.job.platform }}
155
-            lejianwen/rustdesk-api:${{ env.TAG }}-${{ matrix.job.platform }}
154
+#           lejianwen/rustdesk-api:${{ env.LATEST_TAG }}
155
+            lejianwen/rustdesk-api:${{ env.TAG }}-${{ matrix.job.docker_platform }}
156
           labels: ${{ steps.meta.outputs.labels }}
156
           labels: ${{ steps.meta.outputs.labels }}
157
-
158
-  docker-manifest:
159
-    name: Push Docker Manifest
160
-    needs: docker
161
-    runs-on: ubuntu-latest
162
-    steps:
163
-      - name: Extract version from tag
164
-        id: vars
165
-        run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
166
-
167
-      - name: Log in to Docker Hub
168
-        uses: docker/login-action@v2
169
-        with:
170
-          username: ${{ secrets.DOCKER_USERNAME }}
171
-          password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
172
-
173
-      - name: Create and push manifest (:version)
174
-        uses: Noelware/docker-manifest-action@master
175
-        with:
176
-          base-image: lejianwen/rustdesk-api:${{ env.TAG }}
177
-          extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64
178
-          push: true
157
+#
158
+#  docker-manifest:
159
+#    name: Push Docker Manifest
160
+#    needs: docker
161
+#    runs-on: ubuntu-latest
162
+#    steps:
163
+#      - name: Extract version from tag
164
+#        id: vars
165
+#        run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
166
+#
167
+#      - name: Log in to Docker Hub
168
+#        uses: docker/login-action@v2
169
+#        with:
170
+#          username: ${{ secrets.DOCKER_USERNAME }}
171
+#          password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
172
+#
173
+#      - name: Create and push manifest (:version)
174
+#        uses: Noelware/docker-manifest-action@master
175
+#        with:
176
+#          base-image: lejianwen/rustdesk-api:${{ env.TAG }}
177
+#          extra-images: lejianwen/rustdesk-api:${{ env.TAG }}-amd64,lejianwen/rustdesk-api:${{ env.TAG }}-arm64
178
+#          push: true
179
 
179
 
180
 #      - name: Create and push manifest (:latest)
180
 #      - name: Create and push manifest (:latest)
181
 #        uses: Noelware/docker-manifest-action@master
181
 #        uses: Noelware/docker-manifest-action@master