diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 346754c..ade1879 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,11 +1,9 @@ name: Build & publish Docker images on: push: - env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - jobs: build-and-push-image: runs-on: ubuntu-latest @@ -22,11 +20,16 @@ jobs: permissions: contents: read packages: write - steps: - name: Checkout repository uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -46,5 +49,6 @@ jobs: context: ${{ matrix.context }} file: ${{ matrix.dockerfile }} push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}