mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-03 08:57:14 +03:00
chore: cross-platform docker build (#6198)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
6bd7d8bf9d
commit
31f6fcbcf8
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -460,6 +460,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Configure docker
|
||||
uses: crazy-max/ghaction-setup-docker@v3
|
||||
with:
|
||||
daemon-config: |
|
||||
{
|
||||
"features": {
|
||||
"containerd-snapshotter": true
|
||||
}
|
||||
}
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
@ -488,6 +499,7 @@ jobs:
|
||||
run: node common/scripts/install-run-rush.js docker:build -v
|
||||
env:
|
||||
DOCKER_CLI_HINTS: false
|
||||
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
|
||||
- name: Login to Docker Hub
|
||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
uses: docker/login-action@v3
|
||||
|
Loading…
Reference in New Issue
Block a user