Skip to content

Commit

Permalink
do not build arm64 images
Browse files Browse the repository at this point in the history
mongodb doesn't install on arm64 images of this type
  • Loading branch information
megahirt committed May 20, 2024
1 parent c2c7ee8 commit ec7edc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish-base-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64

- name: Log in to Docker Hub
uses: docker/login-action@v2
Expand All @@ -28,4 +28,4 @@ jobs:
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

- name: Build, tag and push image
run: docker buildx build --push --platform linux/amd64,linux/arm64 -t ${{ env.IMAGE }} -f docker/base-php/Dockerfile .
run: docker buildx build --push --platform linux/amd64 -t ${{ env.IMAGE }} -f docker/base-php/Dockerfile .

0 comments on commit ec7edc1

Please sign in to comment.