Skip to content

Commit

Permalink
Add build studio multiarch image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jingsam committed Jul 9, 2024
1 parent dcaed3a commit c8078b6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_studio_image.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c8078b6

Please sign in to comment.