Skip to content

Commit

Permalink
Update linux-client.yml to use docker buildx
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
  • Loading branch information
cloutiertyler authored Oct 4, 2023
1 parent 566f443 commit 627d4f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Compile Aarch64 Docker
run: |
docker build --platform=linux/arm64 -f crates/cli/Dockerfile -t cli .
docker buildx --platform=linux/arm64 -f crates/cli/Dockerfile -t cli .
mkdir build
id=$(docker create cli)
docker cp $id:/usr/local/bin/spacetime - > build/spacetime.linux-arm64.tar
Expand Down

0 comments on commit 627d4f0

Please sign in to comment.