From 2dbe1dbe5e0cb976f15ec720574b1b4a271f20aa Mon Sep 17 00:00:00 2001 From: Yevheniy Oliynyk Date: Sat, 7 Dec 2024 19:04:56 +0100 Subject: [PATCH] docker build dryrun --- .github/workflows/build-test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2dbb4361..255c5861 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -170,3 +170,21 @@ jobs: with: name: exe-package path: crowdin.exe + + build-docker: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + + - name: Copy Dockerfile + run: | + cp packages/docker/Dockerfile Dockerfile + + # to enable buildx (multiplatform build) + - uses: docker/setup-qemu-action@v3 + - uses: docker/setup-buildx-action@v3 + + - name: Build Docker image + run: | + docker buildx build --platform linux/amd64,linux/arm64 -t "crowdin/cli:dryrun" .