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" .