diff --git a/.github/workflows/docker-build-push-dockerhub.yml b/.github/workflows/docker-build-push-dockerhub.yml index c467e69..5af0785 100644 --- a/.github/workflows/docker-build-push-dockerhub.yml +++ b/.github/workflows/docker-build-push-dockerhub.yml @@ -93,8 +93,8 @@ jobs: eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ; # Temporarily disable ARM build due to runner performance issues - # - name: Set up QEMU - # uses: docker/setup-qemu-action@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 # Updated to v3 for latest features/fixes - name: Start database run: | @@ -107,9 +107,9 @@ jobs: network=container:database buildkitd-flags: | --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host -# config-inline: | -# [worker.oci] -# max-parallelism = 1 +# config-inline: | +# [worker.oci] +# max-parallelism = 1 - name: Build image id: docker_build @@ -118,8 +118,8 @@ jobs: context: ./ file: ./Dockerfile load: true # Load the image into the Docker daemon - push: false # Do not push the image at this stage - platforms: linux/amd64 + push: false # Do not push the image at this stage + platforms: linux/arm64 # Changed from linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | @@ -179,7 +179,7 @@ jobs: context: ./ file: ./Dockerfile push: true - platforms: linux/amd64 + platforms: linux/arm64 # Changed from linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | @@ -196,4 +196,4 @@ jobs: - name: Cleanup run: | - docker compose down + docker compose down \ No newline at end of file