mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[ci] Multiarch build. Fix dockerfile.
This commit is contained in:
@@ -6,11 +6,7 @@ on:
|
||||
jobs:
|
||||
docker:
|
||||
name: Build Docker image
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
arch: ['amd64', 'arm64']
|
||||
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
@@ -39,7 +35,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: docker/Dockerfile.${{ matrix.arch }}
|
||||
platforms: linux/${{ matrix.arch }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.ref == 'refs/heads/dev' }}
|
||||
tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest,
|
||||
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
|
||||
Reference in New Issue
Block a user