Skip to content

Commit

Permalink
test multiarch setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart committed Nov 3, 2024
1 parent bd7560f commit 9bb7272
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
run: sh ./install.sh submodules
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
run: DOCKER_BUILDKIT=1 docker buildx build . --file Dockerfile --tag $IMAGE_NAME --progress plain --ssh default --platform linux/arm64/v8,linux/amd64 --label "runnumber=${GITHUB_RUN_ID}"
- name: Push image
Expand Down

0 comments on commit 9bb7272

Please sign in to comment.