diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index ee6695c6..a2c06d2a 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -114,7 +114,8 @@ jobs: # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} @@ -142,6 +143,7 @@ jobs: context: . file: ./Dockerfile.ci push: ${{ github.event_name != 'pull_request' }} + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 8d88c2dc..231fee1b 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -2,7 +2,8 @@ version: "3.2" services: dhfs1: - build: . + image: ghcr.io/usatiuk/dhfs:main + # build: . privileged: true devices: - /dev/fuse @@ -12,7 +13,8 @@ services: - 8081:8443 - 5005:5005 dhfs2: - build: . + image: ghcr.io/usatiuk/dhfs:main + # build: . privileged: true devices: - /dev/fuse