diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ffff9cdb..a8c0cd27 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,16 +13,20 @@ jobs: push_to_registries: name: Push Docker image to multiple registries runs-on: ubuntu-latest - # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job. - permissions: + permissions: # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job. packages: write contents: read steps: - - name: Check out the repo uses: actions/checkout@v4 - + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to Docker Hub uses: docker/login-action@v3.0.0 with: @@ -68,6 +72,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: |