diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1c6ad343e3..3918a4f7df 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,20 +13,30 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Docker meta id: meta uses: docker/metadata-action@v3 with: images: misskey/misskey + - name: Log in to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: Build and Push to Docker Hub uses: docker/build-push-action@v2 with: context: . + platforms: linux/amd64,linux/arm64,linux/arm64/v7 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}