Skip to content

Commit

Permalink
Update gh-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yshayy committed Jul 31, 2023
1 parent 6ac1830 commit a5e8afb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Optimization workaround #https://github.com/nodejs/docker-node/issues/1335#issuecomment-1551547206
if: matrix.arch == 'arm64'
run: docker run --privileged --rm tonistiigi/binfmt --install all
- name: Build using Docker
run: docker buildx build --allow "network.host" --network=host --build-arg CLI_TARGET=node18-${{ matrix.platform }}-${{ matrix.arch }} -f Dockerfile.cli --target=cli --output=type=local,dest=./preevy-bin --progress=plain --platform=linux/${{ matrix.arch == 'x64' && 'amd64' || matrix.arch }} .
- name: Upload artificats
Expand Down

0 comments on commit a5e8afb

Please sign in to comment.