소스 검색

build for arm64 v7 and v8

subDesTagesMitExtraKaese 1 년 전
부모
커밋
07fcca9865
1개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 10 10
      .github/workflows/docker.yml

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

@@ -32,7 +32,7 @@ jobs:
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
           tags: ftcaplan/matrix-stt-bot:latest
       -
@@ -40,7 +40,7 @@ jobs:
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
           tags: ftcaplan/matrix-stt-bot:tiny
           build-args: |
@@ -50,27 +50,27 @@ jobs:
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
-          tags: ftcaplan/matrix-stt-bot:small
+          tags: ftcaplan/matrix-stt-bot:base
           build-args: |
-            "PRELOAD_MODEL=small"
+            "PRELOAD_MODEL=base"
       -
         name: Build and push
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
-          tags: ftcaplan/matrix-stt-bot:base
+          tags: ftcaplan/matrix-stt-bot:small
           build-args: |
-            "PRELOAD_MODEL=base"
+            "PRELOAD_MODEL=small"
       -
         name: Build and push
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
           tags: ftcaplan/matrix-stt-bot:medium
           build-args: |
@@ -80,7 +80,7 @@ jobs:
         uses: docker/build-push-action@v2
         with:
           context: .
-          platforms: linux/amd64,linux/arm64
+          platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
           push: true
           tags: ftcaplan/matrix-stt-bot:large
           build-args: |