Skip to content

Commit

Permalink
Try to build both amd64 annd arm64 images
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Nov 21, 2024
1 parent 4d0107d commit 285eee0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- ./build.sh main
os:
- ubuntu-latest
# - macos-latest
fail-fast: false
env:
GH_ACTION: enable
Expand All @@ -37,16 +36,14 @@ jobs:
- name: Set up Docker Buildx
id: buildx-setup
uses: docker/setup-buildx-action@v3
# - name: Set BUILDX_PLATFORM to ARM64
# if: matrix.os == 'macos-latest'
# run: echo "BUILDX_PLATFORM=linux/arm64" >>"${GITHUB_ENV}"
- name: Set BUILDX_PLATFORM to AMD64,ARM64
run: echo "BUILDX_PLATFORM=linux/amd64,linux/arm64" >>"${GITHUB_ENV}"
- name: Build the image for '${{ matrix.os }}' with '${{ matrix.build_cmd }}'
id: docker-build
run: ${{ matrix.build_cmd }}
env:
BUILDX_BUILDER_NAME: ${{ steps.buildx-setup.outputs.name }}
- name: Set Peering Manager container start_period higher on ARM64
if: matrix.os == 'macos-latest'
run: echo "PEERINGMANAGER_START_PERIOD=240s" >>"${GITHUB_ENV}"
- name: Test the image
run: IMAGE="${FINAL_DOCKER_TAG}" ./test.sh
Expand Down

0 comments on commit 285eee0

Please sign in to comment.