|
@@ -27,6 +27,14 @@ jobs:
|
|
|
with:
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
+ -
|
|
|
+ name: Build and push
|
|
|
+ uses: docker/build-push-action@v2
|
|
|
+ with:
|
|
|
+ context: .
|
|
|
+ platforms: linux/amd64,linux/arm64
|
|
|
+ push: true
|
|
|
+ tags: ftcaplan/matrix-stt-bot:latest
|
|
|
-
|
|
|
name: Build and push
|
|
|
uses: docker/build-push-action@v2
|
|
@@ -44,7 +52,9 @@ jobs:
|
|
|
context: .
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
push: true
|
|
|
- tags: ftcaplan/matrix-stt-bot:latest
|
|
|
+ tags: ftcaplan/matrix-stt-bot:small
|
|
|
+ build-args: |
|
|
|
+ "PRELOAD_MODEL=small"
|
|
|
-
|
|
|
name: Build and push
|
|
|
uses: docker/build-push-action@v2
|
|
@@ -52,9 +62,9 @@ jobs:
|
|
|
context: .
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
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
|