Skip to content

Commit

Permalink
fix 'Enable arm64 emulation' in agent-unit-test
Browse files Browse the repository at this point in the history
There's no need to enable arm64 emulation when not testing arm64 agent. Use
the right way to enable arm64.
  • Loading branch information
lavarou committed Aug 9, 2023
1 parent 48b8f8e commit b3f1048
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ jobs:
with:
path: php-agent
- name: Enable arm64 emulation
run: |
docker run --privileged --rm tonistiigi/binfmt --install arm64
if: ${{ matrix.arch == 'arm64' }}
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:${{vars.BINFMT_IMAGE_VERSION}}
platforms: arm64
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit b3f1048

Please sign in to comment.