diff --git a/.github/workflows/build_and_push_release.yaml b/.github/workflows/build_and_push_release.yaml index 10dc4f6a..9c74f4b2 100644 --- a/.github/workflows/build_and_push_release.yaml +++ b/.github/workflows/build_and_push_release.yaml @@ -24,7 +24,8 @@ jobs: - name: Install buildah run: | sudo apt update - sudo apt install -y buildah + # qemu is required for arm64 builds + sudo apt install -y buildah qemu-user-static - name: Checkout code uses: actions/checkout@v4 - name: Build image with Buildah @@ -37,7 +38,17 @@ jobs: ${{ env.LATEST_TAG }} containerfiles: | ${{ env.CONTAINER_FILE }} + archs: amd64, arm64 oci: true + - name: Check images + run: | + buildah images | grep '${{ env.IMAGE_NAME }}' + echo '${{ steps.build_image.outputs.image }}' + echo '${{ steps.build_image.outputs.tags }}' + - name: Check manifest + run: | + set -x + buildah manifest inspect ${{ steps.build_image.outputs.image }}:${{ env.LATEST_TAG }} - name: Push image to Quay.io uses: redhat-actions/push-to-registry@v2 with: diff --git a/README.md b/README.md index ffa3bfa0..7f82d909 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,10 @@ To pull and run the image with own configuration: If a connection in your browser does not work please check that in the config file `host` option looks like: `host: 0.0.0.0`. +Container images are built for the following platforms: +1. `linux/amd64` - main platform for deployment +1. `linux/arm64`- Mac users with M1/M2/M3 CPUs + # Endpoints The service provides health check endpoints that can be used for monitoring, load balancing, and orchestration systems like Kubernetes.