Skip to content

Commit

Permalink
docker build dryrun
Browse files Browse the repository at this point in the history
  • Loading branch information
yevheniyJ committed Dec 7, 2024
1 parent 089a191 commit 2dbe1db
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .

0 comments on commit 2dbe1db

Please sign in to comment.