diff --git a/.github/workflows/build-unprivileged.yml b/.github/workflows/build-unprivileged.yml index 435aeb8..3ab0073 100644 --- a/.github/workflows/build-unprivileged.yml +++ b/.github/workflows/build-unprivileged.yml @@ -10,7 +10,7 @@ on: - '**.md' schedule: # Build the image daily - - cron: '0 1 * * *' + - cron: '15 0 * * *' env: REGISTRY: ghcr.io @@ -30,6 +30,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + # Add support for more platforms with QEMU + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -54,6 +58,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}