Skip to content

Build studio multiarch docker image #14

Build studio multiarch docker image

Build studio multiarch docker image #14

Workflow file for this run

name: Build studio multiarch docker image
on:
# run this action every day at 04:00 UTC (Singapore noon)
schedule:
- cron: '0 4 * * 1'
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:
push: true
context: '{{defaultContext}}'
file: apps/studio/Dockerfile
target: production
platforms: linux/amd64,linux/arm64
tags: jingsam/supabase-studio:latest
cache-from: type=gha
cache-to: type=gha,mode=max