diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0296c6e..a23c752 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -47,9 +47,9 @@ jobs: - name: Build Docker image run: | if [ "$NO_CACHE" == "true" ]; then - docker build -t cr.yandex/$CR_REGISTRY/$CR_REPO:${IMAGE_TAG::7} --no-cache --ssh default . + docker buildx build --platform linux/amd64,linux/arm64 -t cr.yandex/$CR_REGISTRY/$CR_REPO:${IMAGE_TAG::7} --no-cache --ssh default . else - docker build -t cr.yandex/$CR_REGISTRY/$CR_REPO:${IMAGE_TAG::7} --ssh default . + docker buildx build --platform linux/amd64,linux/arm64 -t cr.yandex/$CR_REGISTRY/$CR_REPO:${IMAGE_TAG::7} --ssh default . fi env: NO_CACHE: ${{ inputs.force_build || 'false' }}