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