diff --git a/.github/workflows/build_studio_image.yml b/.github/workflows/build_studio_image.yml new file mode 100644 index 0000000000000..27d63a752ba08 --- /dev/null +++ b/.github/workflows/build_studio_image.yml @@ -0,0 +1,31 @@ +name: Build studio multiarch image with buildx + +on: + # run this action every day at 04:00 UTC (Singapore noon) + schedule: + - cron: '0 4 * * *' + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest + timeout-minutes: 120 + steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: jingsam/supabase-studio:latest