diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index 091731b..ce977e0 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -17,7 +17,6 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: - build-and-push-image: runs-on: ubuntu-latest permissions: @@ -28,6 +27,12 @@ jobs: - name: Checkout repository 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 the Container registry if: github.event_name != 'pull_request' uses: docker/login-action@v3 @@ -47,6 +52,7 @@ jobs: with: context: . file: base-dockerfile + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}